CVE-2025-8023CWE-22

Path Traversal in Template Upload Allows Uploading Files Outside Target Directory

Medium · published August 21, 2025

CVSS v3.1
6.8
EPSS
0%
Percentile
33.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00407 · 33.8th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-08-21T07:51Z
EPSS history
Timeline
  • 21 AUG 07:51Z
    Path Traversal in Template Upload Allows Uploading Files Outside Target Directory
    cvelistv5