# CVE-2025-31947: Repeated LDAP login failures can lock an LDAP account

- Severity: Medium 5.8 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-05-15T10:41:42.104Z
- Modified: 2026-06-17T09:11:13.113Z
- Also known as: GHSA-qgwx-rffp-6cx9, GO-2025-3692
- Weaknesses: CWE-645
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Mattermost

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

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 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)
- 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-76ab3867b785
- 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+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: from 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.2

## Every score

- Mattermost: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-31947> (advisory)
- <https://github.com/mattermost/mattermost/pull/30821> (web)
- <https://github.com/mattermost/mattermost> (package)
- <https://github.com/advisories/GHSA-qgwx-rffp-6cx9> (advisory)

## Sources

- CVE List: [CVE-2025-31947](https://www.cve.org/CVERecord?id=CVE-2025-31947), CVE Terms of Use, modified 2025-05-15
- GitHub Advisory Database: [GHSA-qgwx-rffp-6cx9](https://github.com/advisories/GHSA-qgwx-rffp-6cx9), CC-BY-4.0, modified 2025-05-23
- Go Vulnerability Database: [GO-2025-3692](https://pkg.go.dev/vuln/GO-2025-3692), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-31947](https://nvd.nist.gov/vuln/detail/CVE-2025-31947), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-31947 · Whole record: https://cve.day/CVE-2025-31947.json · Rebuilt by cve.day 2026-11-25T22:58:58.077Z
