6.8

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

Analyzed
AliasesGHSA-x67c-v8jr-p29rGO-2025-3907
Published 21-08-2025Last modified 21-08-2025

Vulnerability summary

CVE-2025-8023 is a medium (CVSS 6.8) vulnerability in mattermost. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 35% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.41%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 21-08-2025
    PublishedVulnerability first disclosed.
  2. 21-08-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.41%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.41% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/mattermost/mattermost-server2 products
  • v5≤ 5.39.5 | All versions (No fix recorded)
  • v6≤ 6.7.2 | All versions (No fix recorded)
Mattermost2 products
  • 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
  • mattermost_server≥ 9.11.0, < 9.11.18 | ≥ 10.5.0, < 10.5.9 | ≥ 10.8.0, < 10.8.4 | ≥ 10.9.0, < 10.9.3
Github.com/mattermost1 product
  • mattermost-server≥ 10.8.0, < 10.8.4 | ≥ 10.5.0, < 10.5.9 | ≥ 9.11.0, < 9.11.18 | ≥ 10.9.0, < 10.9.3 | ≥ 10.9.0+incompatible, < 10.9.3+incompatible
Github.com/mattermost/mattermost/server1 product
  • v8< 8.0.0-20250708065844-b38e2eccda18

4 vendors · 6 products

References

5 links