CVE-2025-31947
JSON

5.8medium

Repeated LDAP login failures can lock an LDAP account

Severity
5.8medium CVSS:3.1 by Mattermost
Exploit likelihood
0.36% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-qgwx-rffp-6cx9GO-2025-3692

Description

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.

Affected

Product or packageVersionsReported by
Mattermost Mattermostfrom 10.6.0 up to 10.6.1, from 10.5.0 up to 10.5.2, from 10.4.0 up to 10.4.4, from 9.11.0 up to 9.11.11
Not affected: 10.7.0, 10.6.2, 10.5.3, 10.4.5, 9.11.12
CVE List
github.com/mattermost/mattermost/server/v8 (Go)from 10.6.0 before 10.6.2, from 10.5.0 before 10.5.3, from 10.4.0 before 10.4.5, from 9.11.0 before 9.11.12, before 8.0.0-20250415054241-76ab3867b785GitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server (Go)from 9.11.0+incompatible before 9.11.12+incompatible, from 10.4.0+incompatible before 10.4.5+incompatible, from 10.5.0+incompatible before 10.5.3+incompatible, from 10.6.0+incompatible before 10.6.2+incompatibleGo Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)all versionsGo Vulnerability Database
mattermost mattermost_serverfrom 9.11.0 before 9.11.12, from 10.4.0 before 10.4.5, from 10.5.0 before 10.5.3, from 10.6.0 before 10.6.2NVD

All scores

Mattermost5.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
GitHub5.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-645

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

Mattermost Fails to Lockout LDAP Users After Repeated Login Failures in github.com/mattermost/mattermost-server

NVD (es)

Las versiones de Mattermost 10.6.x &lt;= 10.6.1, 10.5.x &lt;= 10.5.2, 10.4.x &lt;= 10.4.4, 9.11.x &lt;= 9.11.11 no logran bloquear a los usuarios LDAP luego de repetidos fallos de inicio de sesión, lo que permite a los atacantes bloquear cuentas LDAP externas mediante repetidos fallos de inicio de sesión a través de Mattermost.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-31947 changed 2025-05-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-qgwx-rffp-6cx9 changed 2025-05-23CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3692 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-31947 changed 2026-06-17Public domain