{"cve":"CVE-2024-40886","nvd":{"published":"2024-08-22T07:15:04.183","modified":"2026-06-17T07:46:47.850","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-352"],"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-40886","score":0.00201,"percentile":0.10056,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-hrf9-rm95-fpf3","url":"https://osv.dev/vulnerability/GHSA-hrf9-rm95-fpf3","summary":"Mattermost Cross-Site Request Forgery vulnerability","modified":"2024-08-30T17:42:37.271559Z","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-3097","url":"https://osv.dev/vulnerability/GO-2024-3097","summary":"Mattermost Cross-Site Request Forgery vulnerability in github.com/mattermost/mattermost-server","modified":"2026-03-03T04:55:45.903961Z","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."]}