{"id":"CVE-2024-4195","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","aliases":["GHSA-5fh7-7mw7-mmx5","GO-2024-2793"],"modified":"2026-08-12T03:51:17.954107138Z","published":"2024-04-26T08:26:00.685Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4195.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"9.6.0"},{"last_affected":"9.6.0"},{"introduced":"9.5.0"},{"last_affected":"9.5.2"},{"introduced":"8.1.0"},{"last_affected":"8.1.11"}]},{"extracted_events":[{"introduced":"9.5.x"},{"fixed":"9.5.3"},{"introduced":"8.1.x"},{"fixed":"8.1.12"}],"source":"DESCRIPTION"}],"cna_assigner":"Mattermost","cwe_ids":["CWE-284"]},"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4195.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4195"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mattermost/mattermost","events":[{"introduced":"096c9ea12a2144f832e330e9a0f4d3862ca20b9f"},{"fixed":"c91d188755c63cc41237105b5f871a341e5faafd"},{"introduced":"99d819d25d0b16b3faed901b1fe5c41de7655e9c"},{"fixed":"baf02ba4e27d641a53785ab0c6bc9a9870b237a6"}],"database_specific":{"extracted_events":[{"introduced":"8.1.0"},{"fixed":"8.1.12"},{"introduced":"9.5.0"},{"fixed":"9.5.3"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*"}}],"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"}]}