CyberSecBulletin
CVE-2025-12419NVD status: Analyzed

Mattermost: Incorrect Implementation of Authentication Algorithm

CVE-2025-12419 is a critical-severity incorrect implementation of authentication algorithm vulnerability in Mattermost, with a CVSS 3.1 base score of 9.9 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. Affected Mattermost versions: 10.12.0 through 10.12.1; 10.11.0 through 10.11.4; 10.5.0 through 10.5.12, and others listed below. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.37% chance of exploitation within 30 days, which is low compared with other CVEs.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. Update Mattermost Server to 10.5.13 or 10.11.5 or 10.12.2 or 11.0.4, whichever matches your release line, or a later version.
  2. Read the advisory on mattermost.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
MattermostMattermost10.12.0 through 10.12.1; 10.11.0 through 10.11.4; 10.5.0 through 10.5.12; 11.0.0 through 11.0.3Not stated
MattermostMattermost Server10.5.0 up to, but not including, 10.5.13; 10.11.0 up to, but not including, 10.11.5; 10.12.0 up to, but not including, 10.12.2; 11.0.0 up to, but not including, 11.0.410.5.13, 10.11.5, 10.12.2, 11.0.4

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
ChangedThe attack can reach beyond the vulnerable component into other systems.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. Scored by CNA (mattermost.com).

Official 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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Incorrect Implementation of Authentication Algorithm

The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.

More Incorrect Implementation of Authentication Algorithm vulnerabilities (CWE-303)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Mattermost

All Mattermost vulnerabilities

Recent Incorrect Implementation of Authentication Algorithm vulnerabilities

Spotted an error? Tell us.