CVE-2025-12419
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.
How to fix
- mattermost mattermost_server10.5.13, 10.11.5, 10.12.2, 11.0.4 or later
- github.com/mattermost/mattermost/server/v88.0.0-20251028000919-d3ed703dc833 or later
- github.com/mattermost/mattermost-server10.12.2, 10.11.5, 10.5.13, 11.0.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mattermost mattermost_server | 10.5.0 ≤ v < 10.5.13, 10.11.0 ≤ v < 10.11.5, 10.12.0 ≤ v < 10.12.2, 11.0.0 ≤ v < 11.0.4 | 10.5.13, 10.11.5, 10.12.2, 11.0.4 |
| github.com/mattermost/mattermost/server/v8Go | v < 8.0.0-20251028000919-d3ed703dc833 | 8.0.0-20251028000919-d3ed703dc833 |
| github.com/mattermost/mattermost-serverGo | 10.12.0 ≤ v < 10.12.2, 10.11.0 ≤ v < 10.11.5, 10.5.0 ≤ v < 10.5.13, 11.0.0 ≤ v < 11.0.4, No range specified | 10.12.2, 10.11.5, 10.5.13, 11.0.4 |
| github.com/mattermost/mattermost-server/v5Go | No range specified | — |
| github.com/mattermost/mattermost-server/v6Go | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.