CVE-2025-31947
Mattermost Server 9.11.0 – 9.11.12
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:LCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-31947 is a medium-severity Overly Restrictive Account Lockout Mechanism (CWE-645) vulnerability in Mattermost Server. Its CVSS base score is 5.8 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Account Access Removal (T1531); ranked at the 30th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-7 (Unsuccessful Logon Attempts) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-15150
Vulnerability Data
Mattermost versions 10.6.x <= 10.6.1, 10.5.x <= 10.5.2, 10.4.x <= 10.4.4, 9.11.x <= 9.11.11 fail to lockout LDAP users following repeated login failures, which allows attackers to lock external LDAP accounts through repeated login failures through Mattermost.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Properly tuned thresholds and lock durations in the unsuccessful logon control stop an overly sensitive lockout from being introduced or exploited for DoS.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Credential management policies directly govern lockout thresholds and reset procedures.
Authentication policies include lockout parameters that must not be overly restrictive.
Authorization policy definition and review encompass account lockout rules and exceptions.
Monitoring can detect resulting lockouts but does not prevent an overly restrictive mechanism.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
A.8.29's combined programme of code review, dynamic testing and penetration testing reaches this weakness from both SOURCE (lockout thresholds visible in code) and RUNTIME (a tester triggering lockout by attempting failed logins observes the behaviour directly), and the weakness is not hardware-only; the remainder is borderline threshold choices that a tester may not flag as 'too restrictive' without a defined policy on what counts as restrictive.
A.8.28's secure design and architecture guidance (including threat modelling) and its coverage of common defects leading to vulnerabilities can reach the lockout-threshold design choice, but the weakness is primarily an authentication-mechanism design decision rather than a coding defect, and the practice is fallible like other A.8.28 reaches.
A.8.30 carries its effect through the secure-design, coding and testing practices its contract requires of the supplier (8.25–8.29), so a faithful implementation reduces the introduction of design-level authentication weaknesses like an overly restrictive lockout mechanism, but the effect is indirect and depends on the supplier's practice — a minority of instances, consistent with the clause's declared ceiling of `partial` on `prevents`.