{"id":"CVE-2025-8023","aliases":["GHSA-x67c-v8jr-p29r","GO-2025-3907"],"url":"https://o3.security/vulnerability/CVE-2025-8023","summary":"Path Traversal in Template Upload Allows Uploading Files Outside Target Directory","details":"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.","published":"2025-08-21T07:51:37.130Z","modified":"2026-07-15T01:48:55.350663705Z","cvss":{"score":6.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","fixedVersion":"10.8.4"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","fixedVersion":"10.5.9"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","fixedVersion":"9.11.18"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","fixedVersion":"10.9.3"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","fixedVersion":"8.0.0-20250708065844-b38e2eccda18"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","fixedVersion":null},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8023.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8023"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:55.350663705Z"}}