{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-40886","published":"2024-08-22T07:15:04.183000Z","last_modified":"2026-06-17T07:46:47.850000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-352"],"cpes":[{"criteria":"cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*","part":"a","vendor":"mattermost","product":"mattermost","version_start_including":"9.5.0","version_end_excluding":"9.5.8"},{"criteria":"cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*","part":"a","vendor":"mattermost","product":"mattermost","version_start_including":"9.8.0","version_end_excluding":"9.8.3"},{"criteria":"cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*","part":"a","vendor":"mattermost","product":"mattermost","version_start_including":"9.9.0","version_end_excluding":"9.9.2"},{"criteria":"cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*","part":"a","vendor":"mattermost","product":"mattermost","version_start_including":"9.10.0","version_end_excluding":"9.10.1"}],"cpes_truncated":false,"vendors":["mattermost"],"products":["mattermost/mattermost"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00315,"percentile":0.16874,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2024-3097","ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[{"introduced":"9.5.0+incompatible","fixed":"9.5.8+incompatible"},{"introduced":"9.8.0+incompatible","fixed":"9.8.3+incompatible"},{"introduced":"9.9.0+incompatible","fixed":"9.9.2+incompatible"},{"introduced":"9.10.0+incompatible","fixed":"9.10.1+incompatible"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-3097","ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-3097","ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-hrf9-rm95-fpf3","ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[{"introduced":"9.9.0","fixed":"9.9.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-hrf9-rm95-fpf3","ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[{"introduced":"9.5.0","fixed":"9.5.8"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-hrf9-rm95-fpf3","ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[{"introduced":"9.10.0","fixed":"9.10.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-hrf9-rm95-fpf3","ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[{"introduced":"9.8.0","fixed":"9.8.3"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-3097","ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2024-40886/","html_en":"/en/cve/CVE-2024-40886/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-40886","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-40886"},"untrusted":{"vendor_name":"Mattermost","product_name":"Mattermost","desc_en":"Mattermost versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0, 9.8.x <= 9.8.2 fail to sanitize user inputs in the frontend that are used for redirection which allows for a one-click client-side path traversal that is leading to CSRF in User Management page of the system console.","affected":[{"untrusted_vendor":"Mattermost","untrusted_product":"Mattermost","versions":[]}],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory"]}]}}