CVE-2025-8023
published medium CVSS 3.1 · 6.8Path Traversal in Template Upload Allows Uploading Files Outside Target Directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Mattermost | — | Mattermost10.8.0 through 10.8.3 (affected · semver) · 10.5.0 through 10.5.8 (affected · semver) · 9.11.0 through 9.11.17 (affected · semver) · 10.9.0 through 10.9.2 (affected · semver) · 10.10.0 (unaffected) · 10.8.4 (unaffected) · 10.5.9 (unaffected) · 9.11.18 (unaffected) · 10.9.3 (unaffected) · Other versions: unaffected | Version-specific | Not stated | Mattermost |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- Mattermost · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Mattermost | Mattermost | 10.8.0 through 10.8.3 (affected · semver)10.5.0 through 10.5.8 (affected · semver)9.11.0 through 9.11.17 (affected · semver)10.9.0 through 10.9.2 (affected · semver)10.10.0 (unaffected)10.8.4 (unaffected)10.5.9 (unaffected)9.11.18 (unaffected)10.9.3 (unaffected)Default: unaffected | Mattermost · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
1Provider assertions
2Mattermost · cna
Path Traversal in Template Upload Allows Uploading Files Outside Target Directory
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5b47e97f541c81e7ddf06c88c3fc222b94e78e78540abdccb3297ef8bdb9198a
- Ingested
- 23 Sep 2026, 08:58:42 UTC
- Source record
- Official CVE record