{"cve":"CVE-2024-8071","nvd":{"published":"2024-08-22T07:15:04.830","modified":"2026-06-17T08:21:48.543","status":"Analyzed","description":"Mattermost versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0 and 9.8.x <= 9.8.2 fail to restrict which roles can promote a user as system admin which allows a System Role with edit access to the permissions section of system console to update their role (e.g. member) to include the `manage_system` permission, effectively becoming a System Admin.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2},"cwes":["CWE-284"],"references":["https://mattermost.com/security-updates"],"products":["mattermost:mattermost"],"source":"nvd","synced_at":"2026-10-19T21:54:16.205165117+00:00"},"epss":{"cve":"CVE-2024-8071","score":0.00344,"percentile":0.28002,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5263-pm2h-m7hw","url":"https://osv.dev/vulnerability/GHSA-5263-pm2h-m7hw","summary":"Mattermost doesn't restrict which roles can promote a user as system admin","modified":"2024-08-30T17:42:36.698865Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=9.9.0 <9.9.2"],"fixed":["9.9.2"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=9.5.0 <9.5.8"],"fixed":["9.5.8"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=9.10.0 <9.10.1"],"fixed":["9.10.1"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=9.8.0 <9.8.3"],"fixed":["9.8.3"]}]},{"id":"GO-2024-3094","url":"https://osv.dev/vulnerability/GO-2024-3094","summary":"Mattermost doesn't restrict which roles can promote a user as system admin in github.com/mattermost/mattermost-server","modified":"2026-03-03T04:55:45.236127Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=9.5.0+incompatible <9.5.8+incompatible",">=9.8.0+incompatible <9.8.3+incompatible",">=9.9.0+incompatible <9.9.2+incompatible",">=9.10.0+incompatible <9.10.1+incompatible"],"fixed":["9.5.8+incompatible","9.8.3+incompatible","9.9.2+incompatible","9.10.1+incompatible"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["all versions"],"fixed":[]}]}],"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."]}