{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:mattermost:mattermost_server:9.5.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "8.1.0"
              },
              {
                "fixed": "8.1.10"
              },
              {
                "introduced": "9.2.0"
              },
              {
                "fixed": "9.2.6"
              },
              {
                "introduced": "9.3.0"
              },
              {
                "fixed": "9.3.2"
              },
              {
                "introduced": "9.4.0"
              },
              {
                "fixed": "9.4.3"
              },
              {
                "introduced": "9.5.0"
              },
              {
                "last_affected": "9.5.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "096c9ea12a2144f832e330e9a0f4d3862ca20b9f"
            },
            {
              "fixed": "674f549daf0e74933845be0ae32827e498137b63"
            },
            {
              "introduced": "b47be1c0f5787562ddf430dd5c5b8b3c35748b06"
            },
            {
              "fixed": "19f009e1ffa28d86a7a03bbcb6fec6a27368c7cd"
            },
            {
              "introduced": "7bf5dcb8fb7f05db9a7a6a9be608ac0fe1405351"
            },
            {
              "fixed": "80fef13a80f3eb2061462de28a5cd7f18caf8986"
            },
            {
              "introduced": "baa88a2450d49dfea42990861283b5ed9d469edf"
            },
            {
              "fixed": "472c1cd4d06083afd93cd3c6a3f1dc7476875b79"
            },
            {
              "introduced": "99d819d25d0b16b3faed901b1fe5c41de7655e9c"
            }
          ],
          "repo": "https://github.com/mattermost/mattermost",
          "type": "GIT"
        }
      ],
      "versions": [
        "9.5.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Mattermost",
    "cwe_ids": [
      "CWE-287"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2450.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "9.5.0"
          },
          {
            "last_affected": "9.5.0"
          },
          {
            "introduced": "9.4.0"
          },
          {
            "last_affected": "9.4.2"
          },
          {
            "introduced": "9.3.0"
          },
          {
            "last_affected": "9.3.1"
          },
          {
            "introduced": "9.2.0"
          },
          {
            "last_affected": "9.2.5"
          },
          {
            "introduced": "8.1.0"
          },
          {
            "last_affected": "8.1.9"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "8.1.x"
          },
          {
            "fixed": "8.1.10"
          },
          {
            "introduced": "9.2.x"
          },
          {
            "fixed": "9.2.6"
          },
          {
            "introduced": "9.3.x"
          },
          {
            "fixed": "9.3.2"
          },
          {
            "introduced": "9.4.x"
          },
          {
            "fixed": "9.4.3"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "Mattermost versions 8.1.x before 8.1.10, 9.2.x before 9.2.6, 9.3.x before 9.3.2, and 9.4.x before 9.4.3 fail to correctly verify account ownership when switching from email to SAML authentication, allowing an authenticated attacker to take over other user accounts via a crafted switch request under specific conditions.\n\n",
  "id": "CVE-2024-2450",
  "modified": "2026-07-08T05:35:59.854117235Z",
  "published": "2024-03-15T09:12:28.880Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://mattermost.com/security-updates"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2450.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-2450"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}