Advisory

GHSA-mc2f-jgj6-6cp3

Also known as: CVE-2025-3230, GO-2025-3731

Summary

Mattermost fails to properly invalidate personal access tokens upon user deactivation

Details

Mattermost versions 10.7.x <= 10.7.0, 10.6.x <= 10.6.2, 10.5.x <= 10.5.3, 9.11.x <= 9.11.12 fails to properly invalidate personal access tokens upon user deactivation, allowing deactivated users to maintain full system access by exploiting access token validation flaws via continued usage of previously issued tokens.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-05-30 15:30 UTC
Modified
2025-06-03 18:57 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.7.0-rc1, fixed 10.7.1 (semver)

Fixed versions

10.7.1

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.6.0-rc1, fixed 10.6.3 (semver)

Fixed versions

10.6.3

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.0.0-rc1, fixed 10.5.4 (semver)

Fixed versions

10.5.4

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.0.0-rc1, fixed 9.11.13 (semver)

Fixed versions

9.11.13

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250402193107-65343f84a783 (semver)

Fixed versions

8.0.0-20250402193107-65343f84a783

Fix

  • Fixed version 8.0.0-20250402193107-65343f84a783
    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