Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-4195

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-4195
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:35 UTC · Revision 1

Source evidence

CVE-2024-4195

core-osv · Original source

Published 26 Apr 2024, 08:26 UTC

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.

osv:CVE-2024-4195
Complete source record
{
  "id": "fbaa2724f92e20f9f26d6d2cb61b9f3cbb597b135037f978a0cb99314a7bf0b0",
  "url": "https://osv.dev/vulnerability/CVE-2024-4195",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-4195",
    "summary": "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.",
    "evidence": "osv:CVE-2024-4195",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-4195",
      "aliases": [
        "CVE-2024-4195",
        "GHSA-5fh7-7mw7-mmx5",
        "GO-2024-2793"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mattermost/mattermost",
              "type": "GIT",
              "events": [
                {
                  "introduced": "096c9ea12a2144f832e330e9a0f4d3862ca20b9f"
                },
                {
                  "fixed": "c91d188755c63cc41237105b5f871a341e5faafd"
                },
                {
                  "introduced": "99d819d25d0b16b3faed901b1fe5c41de7655e9c"
                },
                {
                  "fixed": "baf02ba4e27d641a53785ab0c6bc9a9870b237a6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0"
                      },
                      {
                        "fixed": "8.1.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.5.0"
                      },
                      {
                        "fixed": "9.5.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v8.1.12-rc3",
            "v9.5.3-rc3",
            "v8.1.12-rc2",
            "v9.5.3-rc2",
            "v8.1.12-rc1",
            "v9.5.3-rc1",
            "v8.1.11-rc1",
            "v8.1.11",
            "v9.5.2",
            "v8.1.10-rc1",
            "v8.1.10",
            "v9.5.1-rc1",
            "v9.5.1",
            "v9.5.0-rc3",
            "v9.5.0",
            "@mattermost/types@9.5.0",
            "@mattermost/client@9.5.0",
            "v8.1.9",
            "v8.1.9-rc2",
            "v8.1.9-rc1",
            "v8.1.8",
            "v8.1.8-rc2",
            "v8.1.8-rc1",
            "v8.1.7-rc3",
            "v8.1.7",
            "v8.1.7-rc2",
            "v8.1.7-rc1",
            "v8.1.6-rc1",
            "v8.1.6",
            "v8.1.5-rc2",
            "v8.1.5",
            "v8.1.5-rc1",
            "v8.1.4-rc2",
            "v8.1.4",
            "v8.1.4-rc1",
            "v8.1.3-rc2",
            "v8.1.3",
            "v8.1.3-rc1",
            "v8.1.2-rc2",
            "v8.1.2",
            "v8.1.2-rc1",
            "v8.1.1-rc2",
            "v8.1.1",
            "@mattermost/types@8.1.1",
            "@mattermost/client@8.1.1",
            "v8.1.1-rc1",
            "v8.1.0-rc2",
            "v8.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4195.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.626144694Z",
      "provider": "osv",
      "references": [
        "https://mattermost.com/security-updates",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4195.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-4195"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "Mattermost",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.6.0"
                  },
                  {
                    "last_affected": "9.6.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.5.0"
                  },
                  {
                    "last_affected": "9.5.2"
                  },
                  {
                    "introduced": "8.1.0"
                  },
                  {
                    "last_affected": "8.1.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4195.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-4195",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499728,
  "published_at": "2024-04-26T08:26:00.685+00:00"
}