Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost/server/v8
  4. ›
  5. CVE-2025-6465

CVE-2025-6465: Mattermost Fails to Sanitize File Names

August 21, 2025 (updated August 29, 2025)

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.

References

  • github.com/advisories/GHSA-pj6f-rc94-gw53
  • github.com/mattermost/mattermost
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2025-6465
  • pkg.go.dev/vuln/GO-2025-3906

Code Behaviors & Features

Detect and mitigate CVE-2025-6465 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.0.0-20250708173752-d6b35c41f0ae5

Fixed versions

  • 8.0.0-20250708173752-d6b35c41f0ae5

Solution

Upgrade to version 8.0.0-20250708173752-d6b35c41f0ae5 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

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

Source file

go/github.com/mattermost/mattermost/server/v8/CVE-2025-6465.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 24 Jan 2026 00:17:18 +0000.