CVE-2025-6465

Path traversal in image upload with preview overwrite

State
Published
Severity
4.3 Medium
Published
Aug 21, 2025
Updated
Aug 21, 2025
Reserved
Jun 21, 2025

Read the record on cve.org

Description

Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 10.10.x <= 10.10.0, 10.9.x <= 10.9.3 fail to sanitize file names which allows users with file upload permission to overwrite file attachment thumbnails via path traversal in file streaming APIs.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/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
  • 10.10.0Affected
  • 10.9.0 through 10.9.3Affected
  • 10.11.0Not affected
  • 10.8.4Not affected
  • 10.5.9Not affected
  • 10.10.1Not affected
  • 10.9.4Not 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.