CVE-2025-12419 Account takeover on OAuth/OpenID-enabled servers
CriticalCVSS 9.9
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validate OAuth state tokens during OpenID Connect authentication which allows an authenticated attacker with team creation privileges to take over a user account via manipulation of authentication data during the OAuth completion flow. This requires email verification to be disabled (default: disabled), OAuth/OpenID Connect to be enabled, and the attacker to control two users in the SSO system with one of them never having logged into Mattermost.
Upgrade path
4 packages: 3 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.5.0, < 10.5.13; >= 10.11.0, < 10.11.5; >= 10.12.0, < 10.12.2; >= 11.0.0, < 11.0.4 +1 more | 10.5.13, 10.11.5, 10.12.2, 11.0.4 | Partially fixed |
| Mattermost | >= 10.5.0, <= 10.5.12; >= 10.11.0, <= 10.11.4; >= 10.12.0, <= 10.12.1; >= 11.0.0, <= 11.0.3 | after 10.5.12, 10.11.4, 10.12.1, 11.0.3 | Fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20251028000919-d3ed703dc833 | 8.0.0-20251028000919-d3ed703dc833 | Fixed |
| mattermost server | >= 10.5.0, < 10.5.13; >= 10.11.0, < 10.11.5; >= 10.12.0, < 10.12.2; >= 11.0.0, < 11.0.4 | 10.5.13, 10.11.5, 10.12.2, 11.0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20251028000919-d3ed703dc833 | 8.0.0-20251028000919-d3ed703dc833 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.12.0, < 10.12.2 | 10.12.2 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.11.0, < 10.11.5 | 10.11.5 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.5.0, < 10.5.13 | 10.5.13 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 11.0.0, < 11.0.4 | 11.0.4 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | All versions | No fix listed |
| Mattermost | >= 10.12.0, <= 10.12.1 | No fix listed |
| Mattermost | >= 10.11.0, <= 10.11.4 | No fix listed |
| Mattermost | >= 10.5.0, <= 10.5.12 | No fix listed |
| Mattermost | >= 11.0.0, <= 11.0.3 | No fix listed |
| mattermost server | >= 10.5.0, < 10.5.13 | 10.5.13 |
| mattermost server | >= 10.11.0, < 10.11.5 | 10.11.5 |
| mattermost server | >= 10.12.0, < 10.12.2 | 10.12.2 |
| mattermost server | >= 11.0.0, < 11.0.4 | 11.0.4 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com vendor-advisory
- github.com product
- mattermost.com vendor-advisory