{"id":"CVE-2025-31947","aliases":["CVE-2025-31947","GHSA-qgwx-rffp-6cx9","GO-2025-3692"],"related":[],"kind":"vulnerability","state":"published","title":"Repeated LDAP login failures can lock an LDAP account","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Mattermost Fails to Lockout LDAP Users After Repeated Login Failures in github.com/mattermost/mattermost-server","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Mattermost 10.6.x &lt;= 10.6.1, 10.5.x &lt;= 10.5.2, 10.4.x &lt;= 10.4.4, 9.11.x &lt;= 9.11.11 no logran bloquear a los usuarios LDAP luego de repetidos fallos de inicio de sesión, lo que permite a los atacantes bloquear cuentas LDAP externas mediante repetidos fallos de inicio de sesión a través de Mattermost.","source":"nvd"}],"published":"2025-05-15T10:41:42.104Z","modified":"2026-06-17T09:11:13.113Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","score":5.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","score":5.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-645"],"affected":[{"ranges":[{"type":"semver","introduced":"10.6.0","lastAffected":"10.6.1","status":"affected"},{"type":"semver","introduced":"10.5.0","lastAffected":"10.5.2","status":"affected"},{"type":"semver","introduced":"10.4.0","lastAffected":"10.4.4","status":"affected"},{"type":"semver","introduced":"9.11.0","lastAffected":"9.11.11","status":"affected"},{"version":"10.7.0","status":"unaffected"},{"version":"10.6.2","status":"unaffected"},{"version":"10.5.3","status":"unaffected"},{"version":"10.4.5","status":"unaffected"},{"version":"9.11.12","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"10.6.0","status":"affected","fixed":"10.6.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.5.0","status":"affected","fixed":"10.5.3"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.4.0","status":"affected","fixed":"10.4.5"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.11.0","status":"affected","fixed":"9.11.12"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250415054241-76ab3867b785"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.11.0+incompatible","status":"affected","fixed":"9.11.12+incompatible"},{"type":"semver","introduced":"10.4.0+incompatible","status":"affected","fixed":"10.4.5+incompatible"},{"type":"semver","introduced":"10.5.0+incompatible","status":"affected","fixed":"10.5.3+incompatible"},{"type":"semver","introduced":"10.6.0+incompatible","status":"affected","fixed":"10.6.2+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250415054241-76ab3867b785"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"9.11.0","fixed":"9.11.12"},{"status":"affected","introduced":"10.4.0","fixed":"10.4.5"},{"status":"affected","introduced":"10.5.0","fixed":"10.5.3"},{"status":"affected","introduced":"10.6.0","fixed":"10.6.2"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31947","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/pull/30821","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-qgwx-rffp-6cx9","tags":["advisory"],"sources":["go"]}],"credits":["John Landells"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-05-15T13:43:06.790Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-31947","url":"https://www.cve.org/CVERecord?id=CVE-2025-31947","licence":"CVE Terms of Use","modified":"2025-05-15T13:46:27.427Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qgwx-rffp-6cx9","url":"https://github.com/advisories/GHSA-qgwx-rffp-6cx9","licence":"CC-BY-4.0","modified":"2025-05-23T16:13:07.128Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3692","url":"https://pkg.go.dev/vuln/GO-2025-3692","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:36.641Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-31947","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31947","licence":"Public domain","modified":"2026-06-17T09:11:13.113Z"}],"updatedAt":"2026-11-25T22:58:58.077Z","epss":{"score":0.00357,"percentile":0.31464,"date":"2026-12-01T12:00:22.000Z"}}