CVE-2025-8023
MEDIUM 4.9CVSS 3.1Mattermost Fails to Sanitize Path Traversal Sequences
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
- 21 Aug 2025
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-x67c-v8jr-p29rGO-2025-3907
- Sources
- NVDJSONOSV GHSA-x67c-v8jr-p29rJSONOSV GO-2025-3907JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.11.0, < 9.11.18 | 9.11.18 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.5.0, < 10.5.9 | 10.5.9 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.8.0, < 10.8.4 | 10.8.4 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.9.0, < 10.9.3 | 10.9.3 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.8.0, < 10.8.4 | 10.8.4 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.5.0, < 10.5.9 | 10.5.9 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 9.11.0, < 9.11.18 | 9.11.18 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.9.0, < 10.9.3 | 10.9.3 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250708065844-b38e2eccda18 | 8.0.0-20250708065844-b38e2eccda18 |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | <= 5.39.5 | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | <= 6.7.2 | |
| OSV | Go | github.com/mattermost/mattermost-server | >= 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 | 9.11.18+incompatible, 10.5.9+incompatible, 10.8.4+incompatible, 10.9.3+incompatible |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | all versions |
References
- https://mattermost.com/security-updates · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-8023 · ADVISORY
- https://github.com/mattermost/mattermost · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3907 · WEB
- https://github.com/advisories/GHSA-x67c-v8jr-p29r · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 21 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2025)