CVE-2025-8023 | Path Traversal in Template Upload Allows Uploading Files Outside Target Directory

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: 2025-08-21 Last update: 2025-08-25 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-8023 is rated Low Risk (32.9/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-8023

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-01-29 0.05% 0.05% +0.00%
2 2026-01-17 0.06% 0.05% -0.01%
3 2025-08-27 0.06%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-8023

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.3 4.0 [email protected]
4.9 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
1.2 3.6 [email protected]

Weakness enumeration for CVE-2025-8023

GitHub Security Advisory for CVE-2025-8023

GHSA-x67c-v8jr-p29r · Severity: medium · Ecosystem: go — Mattermost Fails to Sanitize Path Traversal Sequences

Affected software / configurations for CVE-2025-8023

Vendor Product Version Raw CPE
mattermost mattermost_server >= 9.11.0, < 9.11.18 cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
mattermost mattermost_server >= 10.5.0, < 10.5.9 cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
mattermost mattermost_server >= 10.8.0, < 10.8.4 cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
mattermost mattermost_server >= 10.9.0, < 10.9.3 cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*

References for CVE-2025-8023

URL Tags
https://mattermost.com/security-updates Vendor Advisory
cvelogic Threat Intelligence