CVE-2025-8023Path Traversal in Template Upload Allows Uploading Files Outside Target Directory
- 6.8MediumCVSS base score
- 0.44%Exploitation in 30 daysEPSS · top 61% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Mattermost
- 30 days later
· 30 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| MattermostCNA (assigner) | 3.1 | Medium6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| NVDNVD · Analyzed | 3.1 | Medium4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.44% · top 61% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Affected products
- affected 10.8.0 – ≤ 10.8.3
- affected 10.5.0 – ≤ 10.5.8
- affected 9.11.0 – ≤ 9.11.17
- affected 10.9.0 – ≤ 10.9.2
- unaffected 10.10.0
- unaffected 10.8.4
- unaffected 10.5.9
- unaffected 9.11.18
- unaffected 10.9.3
Affected packages
Affected packages4
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/mattermost/mattermost-serverGHSA-x67c-v8jr-p29r (opens in a new tab)
- Gogithub.com/mattermost/mattermost-server/v5GHSA-x67c-v8jr-p29r (opens in a new tab)
- Gogithub.com/mattermost/mattermost-server/v6GHSA-x67c-v8jr-p29r (opens in a new tab)
- Gogithub.com/mattermost/mattermost/server/v8GHSA-x67c-v8jr-p29r (opens in a new tab)
What to do
Solution: Update Mattermost to versions 10.10.0, 10.8.4, 10.5.9, 9.11.18, 10.9.3 or higher.
References
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-25412 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-x67c-v8jr-p29r (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-8023)Record last updated .