{"cve":"CVE-2025-8023","nvd":{"published":"2025-08-21T08:15:30.720","modified":"2026-06-17T10:06:09.590","status":"Analyzed","description":"Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2 fails to sanitize path traversal sequences in template file destination paths, which allows a system admin to perform path traversal attacks via malicious path components, potentially enabling malicious file placement outside intended directories.","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:H/A:N","score":4.9},"cwes":["CWE-22"],"references":["https://mattermost.com/security-updates"],"products":["mattermost:mattermost_server"],"source":"nvd","synced_at":"2026-10-19T22:07:46.309729541+00:00"},"epss":{"cve":"CVE-2025-8023","score":0.00407,"percentile":0.34987,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-x67c-v8jr-p29r","url":"https://osv.dev/vulnerability/GHSA-x67c-v8jr-p29r","summary":"Mattermost Fails to Sanitize Path Traversal Sequences","modified":"2025-08-29T20:59:14Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=10.8.0 <10.8.4"],"fixed":["10.8.4"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=10.5.0 <10.5.9"],"fixed":["10.5.9"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=9.11.0 <9.11.18"],"fixed":["9.11.18"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=10.9.0 <10.9.3"],"fixed":["10.9.3"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["<8.0.0-20250708065844-b38e2eccda18"],"fixed":["8.0.0-20250708065844-b38e2eccda18"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["<=5.39.5"],"fixed":[]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["<=6.7.2"],"fixed":[]}]},{"id":"GO-2025-3907","url":"https://osv.dev/vulnerability/GO-2025-3907","summary":"Mattermost Fails to Sanitize Path Traversal Sequences in github.com/mattermost/mattermost-server","modified":"2026-03-03T04:56:52.107772Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=9.11.0+incompatible <9.11.18+incompatible",">=10.5.0+incompatible <10.5.9+incompatible",">=10.8.0+incompatible <10.8.4+incompatible",">=10.9.0+incompatible <10.9.3+incompatible"],"fixed":["9.11.18+incompatible","10.5.9+incompatible","10.8.4+incompatible","10.9.3+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":["<8.0.0-20250708065844-b38e2eccda18"],"fixed":["8.0.0-20250708065844-b38e2eccda18"]}]}],"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."]}