Path Traversal in Template Upload Allows Uploading Files Outside Target Directory
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Mattermost | Mattermost | 10.8.0 – 10.8.3; 10.5.0 – 10.5.8; 9.11.0 – 9.11.17; 10.9.0 – 10.9.2 | 10.10.0, 10.8.4, 10.5.9, 9.11.18, 10.9.3 | Patch available | CNA |
| — | github.com/mattermost/mattermost-server (Go) | 10.8.0 to before 10.8.4 | 10.8.4 | Patch available | GHSA-x67c-v8jr-p29r |
| — | github.com/mattermost/mattermost-server (Go) | 10.5.0 to before 10.5.9 | 10.5.9 | Patch available | GHSA-x67c-v8jr-p29r |
| — | github.com/mattermost/mattermost-server (Go) | 9.11.0 to before 9.11.18 | 9.11.18 | Patch available | GHSA-x67c-v8jr-p29r |
| — | github.com/mattermost/mattermost-server (Go) | 10.9.0 to before 10.9.3 | 10.9.3 | Patch available | GHSA-x67c-v8jr-p29r |
| — | github.com/mattermost/mattermost/server/v8 (Go) | before 8.0.0-20250708065844-b38e2eccda18 | 8.0.0-20250708065844-b38e2eccda18 | Patch available | GHSA-x67c-v8jr-p29r |
| — | github.com/mattermost/mattermost-server/v5 (Go) | up to 5.39.5 | — | No fix listed | GHSA-x67c-v8jr-p29r |
| — | github.com/mattermost/mattermost-server/v6 (Go) | up to 6.7.2 | — | No fix listed | GHSA-x67c-v8jr-p29r |
- Mattermost VendorMattermost Affected 10.8.0 – 10.8.3; 10.5.0 – 10.5.8; 9.11.0 – 9.11.17; 10.9.0 – 10.9.2 Fixed in 10.10.0, 10.8.4, 10.5.9, 9.11.18, 10.9.3 Patch available CNA
- github.com/mattermost/mattermost-server (Go) Vendor— Affected 10.8.0 to before 10.8.4 Fixed in 10.8.4 Patch available GHSA-x67c-v8jr-p29r
- github.com/mattermost/mattermost-server (Go) Vendor— Affected 10.5.0 to before 10.5.9 Fixed in 10.5.9 Patch available GHSA-x67c-v8jr-p29r
- github.com/mattermost/mattermost-server (Go) Vendor— Affected 9.11.0 to before 9.11.18 Fixed in 9.11.18 Patch available GHSA-x67c-v8jr-p29r
- github.com/mattermost/mattermost-server (Go) Vendor— Affected 10.9.0 to before 10.9.3 Fixed in 10.9.3 Patch available GHSA-x67c-v8jr-p29r
- github.com/mattermost/mattermost/server/v8 (Go) Vendor— Affected before 8.0.0-20250708065844-b38e2eccda18 Fixed in 8.0.0-20250708065844-b38e2eccda18 Patch available GHSA-x67c-v8jr-p29r
- github.com/mattermost/mattermost-server/v5 (Go) Vendor— Affected up to 5.39.5 Fixed in — No fix listed GHSA-x67c-v8jr-p29r
- github.com/mattermost/mattermost-server/v6 (Go) Vendor— Affected up to 6.7.2 Fixed in — No fix listed GHSA-x67c-v8jr-p29r
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* | 9.11.0 to before 9.11.18; 10.5.0 to before 10.5.9; 10.8.0 to before 10.8.4; 10.9.0 to before 10.9.3 | Vulnerable | Mattermost |
- cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* Versions 9.11.0 to before 9.11.18; 10.5.0 to before 10.5.9; 10.8.0 to before 10.8.4; 10.9.0 to before 10.9.3 Vulnerable ·Mattermost
Remediation
- Fix · CNA Mattermost (Mattermost) Fixed in 10.10.0, 10.8.4, 10.5.9, 9.11.18, 10.9.3
- Fix · GHSA-x67c-v8jr-p29r github.com/mattermost/mattermost-server (Go) Fixed in 10.8.4 Advisory →
- Fix · GHSA-x67c-v8jr-p29r github.com/mattermost/mattermost-server (Go) Fixed in 10.5.9 Advisory →
- Fix · GHSA-x67c-v8jr-p29r github.com/mattermost/mattermost-server (Go) Fixed in 9.11.18 Advisory →
- Fix · GHSA-x67c-v8jr-p29r github.com/mattermost/mattermost-server (Go) Fixed in 10.9.3 Advisory →
- Fix · GHSA-x67c-v8jr-p29r github.com/mattermost/mattermost/server/v8 (Go) Fixed in 8.0.0-20250708065844-b38e2eccda18 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-8023
- 2026-10-03 Alias added: GHSA-x67c-v8jr-p29r
References
More Mattermost Server vulnerabilities
- TI-2025-18933 Arbitrary file read in Mattermost Boards via import & export board archive CVSS 3.1CRITICAL 9.9
- TI-2025-04465 Path Traversal Leading to RCE by Any Authenticated Mattermost User CVSS 3.1CRITICAL 9.9
- TI-2017-14068 An issue was discovered in Mattermost Server before 3.6.2. CVSS 3.1CRITICAL 9.8
- TI-2017-14060 An issue was discovered in Mattermost Server before 3.8.2, 3.7.5, and 3.6.7. CVSS 3.1CRITICAL 9.8
- TI-2017-14048 An issue was discovered in Mattermost Server before 4.1.0, 4.0.4, and 3.10.3. CVSS 3.1CRITICAL 9.8
- TI-2025-14360 Arbitrary file read via block duplication in Mattermost Boards CVSS 3.1CRITICAL 9.9
Sources
- CVE-2025-8023 · CVE Program
- CVE-2025-8023 · NVD
- FIRST EPSS
- GHSA-x67c-v8jr-p29r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences