{"cve":"CVE-2025-31947","nvd":{"published":"2025-05-15T11:15:48.270","modified":"2026-06-17T09:11:13.113","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-645"],"references":["https://mattermost.com/security-updates"],"products":["mattermost:mattermost_server"],"source":"nvd","synced_at":"2026-10-19T22:01:22.920403922+00:00"},"epss":{"cve":"CVE-2025-31947","score":0.00351,"percentile":0.28761,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-qgwx-rffp-6cx9","url":"https://osv.dev/vulnerability/GHSA-qgwx-rffp-6cx9","summary":"Mattermost Fails to Lockout LDAP Users After Repeated Login Failures","modified":"2025-05-23T16:13:07.128738Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=10.6.0 <10.6.2"],"fixed":["10.6.2"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=10.5.0 <10.5.3"],"fixed":["10.5.3"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=10.4.0 <10.4.5"],"fixed":["10.4.5"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=9.11.0 <9.11.12"],"fixed":["9.11.12"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["<8.0.0-20250415054241-76ab3867b785"],"fixed":["8.0.0-20250415054241-76ab3867b785"]}]},{"id":"GO-2025-3692","url":"https://osv.dev/vulnerability/GO-2025-3692","summary":"Mattermost Fails to Lockout LDAP Users After Repeated Login Failures in github.com/mattermost/mattermost-server","modified":"2026-03-03T04:56:36.641401Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=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"],"fixed":["9.11.12+incompatible","10.4.5+incompatible","10.5.3+incompatible","10.6.2+incompatible"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["<8.0.0-20250415054241-76ab3867b785"],"fixed":["8.0.0-20250415054241-76ab3867b785"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}