CVE-2025-31947
Repeated LDAP login failures can lock an LDAP account
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.8
Repeated LDAP login failures can lock an LDAP account
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.
- Record
CVE-2025-31947- 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 - Weakness
- CWE-645
- Updated
- 2026-11-02
EUVDEUVD-2025-15150
5.8
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.
- Record
EUVD-2025-15150- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-qgwx-rffp-6cx9
5.8
Mattermost 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.
- Record
GHSA-qgwx-rffp-6cx9- 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 - Weakness
- CWE-645
- Updated
- 2026-11-02
NVD
5.8
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.
- Record
CVE-2025-31947- 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 - 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 - Weakness
- CWE-645
- Updated
- 2026-11-02
OSV
5.8
Repeated LDAP login failures can lock an LDAP account
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.
- Record
CVE-2025-31947- 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 - Weakness
- CWE-645
- Updated
- 2026-11-02
OSVGHSA-qgwx-rffp-6cx9
5.8
Mattermost 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.
- Record
GHSA-qgwx-rffp-6cx9- 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 - Weakness
- CWE-645
- Updated
- 2026-11-02
OSVGO-2025-3692 No score
Mattermost Fails to Lockout LDAP Users After Repeated Login Failures in github.com/mattermost/mattermost-server
Mattermost Fails to Lockout LDAP Users After Repeated Login Failures in github.com/mattermost/mattermost-server
- Record
GO-2025-3692- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15159-1 No score
govulncheck-vulndb-0.0.20250523T151856-1.1 on GA media
These are all security issues fixed in the govulncheck-vulndb-0.0.20250523T151856-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15159-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/mattermost/mattermost/server/v8Go |
10.6.0 to 10.6.1 | 10.6.2 |
github.com/mattermost/mattermost/server/v8Go |
10.5.0 to 10.5.2 | 10.5.3 |
github.com/mattermost/mattermost/server/v8Go |
10.4.0 to 10.4.4 | 10.4.5 |
github.com/mattermost/mattermost/server/v8Go |
9.11.0 to 9.11.11 | 9.11.12 |
github.com/mattermost/mattermost/server/v8Go |
before 8.0.0-20250415054241-76ab3867b785 | 8.0.0-20250415054241-76ab3867b785 |
github.com/mattermost/mattermost/server/v8Go |
10.6.0 up to 10.6.2 | 10.6.2 |
github.com/mattermost/mattermost/server/v8Go |
10.5.0 up to 10.5.3 | 10.5.3 |
github.com/mattermost/mattermost/server/v8Go |
10.4.0 up to 10.4.5 | 10.4.5 |
github.com/mattermost/mattermost/server/v8Go |
9.11.0 up to 9.11.12 | 9.11.12 |
github.com/mattermost/mattermost-serverGo |
9.11.0+incompatible up to 9.11.12+incompatible, 10.4.0+incompatible up to 10.4.5+incompatible, 10.5.0+incompatible up to 10.5.3+incompatible, 10.6.0+incompatible up to 10.6.2+incompatible | 9.11.12+incompatible10.4.5+incompatible10.5.3+incompatible10.6.2+incompatible |
github.com/mattermost/mattermost-server/v5Go |
All versions | None known |
github.com/mattermost/mattermost-server/v6Go |
All versions | None known |
govulncheck-vulndbopenSUSE:Tumbleweed From an advisory covering 14 CVEs |
before 0.0.20250523T151856-1.1 | 0.0.20250523T151856-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-31947 is a medium vulnerability (CVSS 5.8) in Mattermost, published May 15, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 28th percentile. Fixed in github.com/mattermost/mattermost/server/v8 10.6.2.
References
mattermost.com/security-updates
nvd.nist.gov/vuln/detail/CVE-2025-31947
github.com/mattermost/mattermost/pull/30821
github.com/advisories/GHSA-qgwx-rffp-6cx9
github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31947.json
github.com/mattermost/mattermost
Show 15 moreShow less
lists.opensuse.org/archives/list/[email protected]/thread/NBVOKYMJCE2HZLSF5W3H3Q7KEHMMOQR3
suse.com/security/cve/CVE-2024-40120
suse.com/security/cve/CVE-2025-1975
suse.com/security/cve/CVE-2025-2527
suse.com/security/cve/CVE-2025-2570
suse.com/security/cve/CVE-2025-31947
suse.com/security/cve/CVE-2025-3446
suse.com/security/cve/CVE-2025-47282
suse.com/security/cve/CVE-2025-47283
suse.com/security/cve/CVE-2025-47284
suse.com/security/cve/CVE-2025-47290
suse.com/security/cve/CVE-2025-47291
suse.com/security/cve/CVE-2025-48056
suse.com/security/cve/CVE-2025-48069
suse.com/security/cve/CVE-2025-5031