Skip to content
Fencer Vulns
medium 5.8

CVE-2025-31947 json

Repeated LDAP login failures can lock an LDAP account

published 2025-05-15 17 mo ago modified 2026-06-17 4 mo ago also GHSA-qgwx-rffp-6cx9 , GO-2025-3692 , EUVD-2025-15150

cvss
5.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 28%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/mattermost/mattermost/server/v8 8.0.0-20250415054241-76ab3867b785, 9.11.12, 10.4.5, 10.5.3, 10.6.2
  • go github.com/mattermost/mattermost-server 9.11.12+incompatible, 10.4.5+incompatible, 10.5.3+incompatible, 10.6.2+incompatible
  • Mattermost Mattermost 9.11.12, 10.4.5, 10.5.3, 10.6.2, 10.7.0
  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20250523T151856-1.1

opensuse advisories openSUSE-SU-2025:15159-1

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
17 mo ago

Exploit prediction

0.35% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub 3.1 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
go github.com/mattermost/mattermost/server/v8
>=10.6.0, <10.6.2
>=10.5.0, <10.5.3
>=10.4.0, <10.4.5
>=9.11.0, <9.11.12
<8.0.0-20250415054241-76ab3867b785
10.6.2
10.5.3
10.4.5
9.11.12
8.0.0-20250415054241-76ab3867b785
go github.com/mattermost/mattermost-server
>=9.11.0+incompatible, <9.11.12+incompatible
>=10.4.0+incompatible, <10.4.5+incompatible
>=10.5.0+incompatible, <10.5.3+incompatible
>=10.6.0+incompatible, <10.6.2+incompatible
9.11.12+incompatible
10.4.5+incompatible
10.5.3+incompatible
10.6.2+incompatible
go github.com/mattermost/mattermost-server/v5
all versions
no fix listed
go github.com/mattermost/mattermost-server/v6
all versions
no fix listed

Affected products

  • Mattermost Mattermost

Classification

Weakness
  • CWE-645 Overly Restrictive Account Lockout Mechanism

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.