Advisory

GHSA-q453-638c-h4mr

Also known as: CVE-2025-49222, GO-2025-3904

Summary

Mattermost Fails to Validate Remote Cluster Upload Sessions

Details

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, 10.10.x <= 10.10.0 fail to validate upload types in remote cluster upload sessions which allows a system admin to upload non-attachment file types via shared channels that could potentially be placed in arbitrary filesystem directories.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-21 09:30 UTC
Modified
2025-08-29 20:58 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 9.11.0, fixed 9.11.18 (semver)

Fixed versions

9.11.18

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.9.0, fixed 10.9.3 (semver)

Fixed versions

10.9.3

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]

github.com/mattermost/mattermost-server/v5

Go · All systems

Affected

  • introduced 0, last affected 5.39.3 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/mattermost/mattermost-server/v6

Go · All systems

Affected

  • introduced 0, last affected 5.7.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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