Advisory

GHSA-pj6f-rc94-gw53

Also known as: CVE-2025-6465, GO-2025-3910

Summary

Mattermost Fails to Sanitize File Names

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-21 18:31 UTC
Modified
2025-08-29 21:00 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.8.0, fixed 10.8.4 (semver)

Fixed versions

10.8.4

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.5.0, fixed 10.5.9 (semver)

Fixed versions

10.5.9

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.9.0, fixed 10.9.4 (semver)

Fixed versions

10.9.4

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.10.0, fixed 10.10.1 (semver)

Fixed versions

10.10.1

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250708173752-d6b35c41f0ae5 (semver)

Fixed versions

8.0.0-20250708173752-d6b35c41f0ae5

Fix

  • Fixed version 8.0.0-20250708173752-d6b35c41f0ae5
    go get github.com/mattermost/mattermost/server/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences