CVE-2025-31947
MEDIUM 5.3CVSS 3.1Mattermost Fails to Lockout LDAP Users After Repeated Login Failures
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.
- Published
- 15 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-645
- Also known as
- GHSA-qgwx-rffp-6cx9GO-2025-3692
- Sources
- NVDJSONOSV GHSA-qgwx-rffp-6cx9JSONOSV GO-2025-3692JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.11.0, < 9.11.12 | 9.11.12 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.4.0, < 10.4.5 | 10.4.5 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.5.0, < 10.5.3 | 10.5.3 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.6.0, < 10.6.2 | 10.6.2 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 10.6.0, < 10.6.2 | 10.6.2 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 10.5.0, < 10.5.3 | 10.5.3 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 10.4.0, < 10.4.5 | 10.4.5 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.11.0, < 9.11.12 | 9.11.12 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250415054241-76ab3867b785 | 8.0.0-20250415054241-76ab3867b785 |
| OSV | 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 |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | all versions |
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
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 15 May 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 May 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 May 2025)