{"cve":"CVE-2024-4198","nvd":{"published":"2024-04-26T09:15:13.097","modified":"2026-06-17T08:01:18.843","status":"Analyzed","description":"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 team admin to demote users to guest via crafted HTTP requests.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.7},"cwes":["CWE-284"],"references":["https://mattermost.com/security-updates","https://mattermost.com/security-updates"],"products":["mattermost:mattermost_server"],"source":"nvd","synced_at":"2026-10-19T21:49:08.435428910+00:00"},"epss":{"cve":"CVE-2024-4198","score":0.00502,"percentile":0.42984,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5qx9-9ffj-5r8f","url":"https://osv.dev/vulnerability/GHSA-5qx9-9ffj-5r8f","summary":"Mattermost fails to fully validate role changes","modified":"2024-06-05T16:43:09.574277Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=9.6.0-rc1 <9.6.1"],"fixed":["9.6.1"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=9.5.0 <9.5.3"],"fixed":["9.5.3"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=8.1.0 <8.1.12"],"fixed":["8.1.12"]}]},{"id":"GO-2024-2794","url":"https://osv.dev/vulnerability/GO-2024-2794","summary":"Mattermost fails to fully validate role changes in github.com/mattermost/mattermost-server","modified":"2026-03-03T04:55:16.856917Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=8.1.0+incompatible <8.1.12+incompatible",">=9.5.0+incompatible <9.5.3+incompatible",">=9.6.0-rc1+incompatible <9.6.1+incompatible"],"fixed":["8.1.12+incompatible","9.5.3+incompatible","9.6.1+incompatible"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}