Vulnerability · Published May 15, 2025 · Assigned by Mattermost
CVE-2025-31947Repeated LDAP login failures can lock an LDAP account
Medium 5.8
In plain English
A medium-severity security flaw in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.8Medium
Exploit odds (30 days)0.4%top 71.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 10.4.5+incompatible, 10.5.3+incompatible, 10.6.2+incompatible, 9.11.12+incompatible | GO-2025-3692 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GO-2025-3692 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GO-2025-3692 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.11.12 | GHSA-qgwx-rffp-6cx9 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250415054241-76ab3867b785 | GHSA-qgwx-rffp-6cx9 |
| Go | github.com/mattermost/mattermost/server/v8 | 10.6.2 | GHSA-qgwx-rffp-6cx9 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250415054241-76ab3867b785 | GO-2025-3692 |
| Go | github.com/mattermost/mattermost/server/v8 | 10.5.3 | GHSA-qgwx-rffp-6cx9 |
| Go | github.com/mattermost/mattermost/server/v8 | 10.4.5 | GHSA-qgwx-rffp-6cx9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost | 10.6.0 – through 10.6.110.5.0 – through 10.5.210.4.0 – through 10.4.49.11.0 – through 9.11.11 |
Weakness: CWE-645 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L