{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "8.1.0"
              },
              {
                "fixed": "8.1.12"
              },
              {
                "introduced": "9.5.0"
              },
              {
                "fixed": "9.5.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "096c9ea12a2144f832e330e9a0f4d3862ca20b9f"
            },
            {
              "fixed": "c91d188755c63cc41237105b5f871a341e5faafd"
            },
            {
              "introduced": "99d819d25d0b16b3faed901b1fe5c41de7655e9c"
            },
            {
              "fixed": "baf02ba4e27d641a53785ab0c6bc9a9870b237a6"
            }
          ],
          "repo": "https://github.com/mattermost/mattermost-server",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Mattermost versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12 fail to fully validate role changes, which allows an attacker authenticated as a team admin to promote guests to team admins via crafted HTTP requests.\n\n",
  "id": "CVE-2024-4195",
  "modified": "2026-03-13T21:53:33.171766036Z",
  "published": "2024-04-26T09:15:12.897Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://mattermost.com/security-updates"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}