CVE-2025-4981
published critical CVSS 3.1 · 9.9Path Traversal Leading to RCE by Any Authenticated Mattermost User
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Mattermost | — | Mattermost10.5.0 through 10.5.5 (affected · semver) · 9.11.0 through 9.11.15 (affected · semver) · 10.8.0 through 10.8.0 (affected · semver) · 10.7.0 through 10.7.2 (affected · semver) · 10.6.0 through 10.6.5 (affected · semver) · 10.9.0 (unaffected) · 10.5.6 (unaffected) · 9.11.16 (unaffected) · 10.8.1 (unaffected) · 10.7.3 (unaffected) · 10.6.6 (unaffected) · Other versions: unaffected | Version-specific | Not stated | Mattermost |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250730T213748-1.1 | OPENSUSE-SU-2025:15405-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250730T213748-1.1 | OPENSUSE-SU-2025:15405-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250730T213748-1.1 | OPENSUSE-SU-2025:15405-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250730T213748-1.1 | OPENSUSE-SU-2025:15405-1 |
Description
Mattermost versions 10.5.x <= 10.5.5, 9.11.x <= 9.11.15, 10.8.x <= 10.8.0, 10.7.x <= 10.7.2, 10.6.x <= 10.6.5 fail to sanitize filenames in the archive extractor which allows authenticated users to write files to arbitrary locations on the filesystem via uploading archives with path traversal sequences in filenames, potentially leading to remote code execution. The vulnerability impacts instances where file uploads and document search by content is enabled (FileSettings.EnableFileAttachments = true and FileSettings.ExtractContent = true). These configuration settings are enabled by default.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.9 / 10
- Severity
- critical
- Provider
- Mattermost · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Mattermost | Mattermost | 10.5.0 through 10.5.5 (affected · semver)9.11.0 through 9.11.15 (affected · semver)10.8.0 through 10.8.0 (affected · semver)10.7.0 through 10.7.2 (affected · semver)10.6.0 through 10.6.5 (affected · semver)10.9.0 (unaffected)10.5.6 (unaffected)9.11.16 (unaffected)10.8.1 (unaffected)10.7.3 (unaffected)10.6.6 (unaffected)Default: unaffected | Mattermost · cna |
Weaknesses
1- CWE-427 CWE-427: Uncontrolled Search Path Element
References
1Provider assertions
2Mattermost · cna
Path Traversal Leading to RCE by Any Authenticated Mattermost User
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2ffe3ce629a1e76399032520456e772f55e974d17f1a3129dea5c59b51cbc036
- Ingested
- 23 Sep 2026, 08:51:56 UTC
- Source record
- Official CVE record