Advisory

GHSA-gq3r-5833-5532

Also known as: CVE-2025-36530, GO-2025-3901

Summary

Mattermost Fails to Validate File Paths

Details

Mattermost versions 10.9.x <= 10.9.1, 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17 fail to properly validate file paths during plugin import operations which allows restricted admin users to install unauthorized custom plugins via path traversal in the import functionality, bypassing plugin signature enforcement and marketplace restrictions.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-21 09:30 UTC
Modified
2025-08-29 20:47 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.9.0, fixed 10.9.2 (semver)

Fixed versions

10.9.2

Fix

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/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250619095651-9dd0b3943e55 (semver)

Fixed versions

8.0.0-20250619095651-9dd0b3943e55

Fix

  • Fixed version 8.0.0-20250619095651-9dd0b3943e55
    go get github.com/mattermost/mattermost/server/[email protected]

github.com/mattermost/mattermost-server/v5

Go · All systems

Affected

  • introduced 0, last affected 5.11.1 (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 6.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