CVE-2025-8023

Path Traversal in Template Upload Allows Uploading Files Outside Target Directory

State
Published
Severity
6.8 Medium
Published
Aug 21, 2025
Updated
Aug 21, 2025
Reserved
Jul 22, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:NMattermost

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
MattermostMattermost
  • 10.8.0 through 10.8.3Affected
  • 10.5.0 through 10.5.8Affected
  • 9.11.0 through 9.11.17Affected
  • 10.9.0 through 10.9.2Affected
  • 10.10.0Not affected
  • 10.8.4Not affected
  • 10.5.9Not affected
  • 9.11.18Not affected
  • 10.9.3Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.