Vulnerability · Published May 30, 2025 · Assigned by Mattermost
CVE-2025-3230Bypass of System Admin User Deactivation Controls for Personal Access Tokens in Mattermost Server
Medium 5.4
In plain English
A medium-severity security flaw in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 10.5.4+incompatible, 10.6.3+incompatible, 10.7.1+incompatible, 9.11.13+incompatible | GO-2025-3731 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GO-2025-3731 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GO-2025-3731 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.11.13 | GHSA-mc2f-jgj6-6cp3 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250402193107-65343f84a783 | GHSA-mc2f-jgj6-6cp3 |
| Go | github.com/mattermost/mattermost/server/v8 | 10.7.1 | GHSA-mc2f-jgj6-6cp3 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250402193107-65343f84a783 | GO-2025-3731 |
| Go | github.com/mattermost/mattermost/server/v8 | 10.6.3 | GHSA-mc2f-jgj6-6cp3 |
| Go | github.com/mattermost/mattermost/server/v8 | 10.5.4 | GHSA-mc2f-jgj6-6cp3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost | 10.7.010.6.0 – through 10.6.210.5.0 – through 10.5.39.11.0 – through 9.11.12 |
Weakness: CWE-303 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N