{"id":"CVE-2025-31947","published":"2025-05-15T10:41:42Z","modified":"2025-05-15T13:46:27Z","title":"Repeated LDAP login failures can lock an LDAP account","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00357,"percentile":0.30209,"provenance":"source"},"cwes":[{"id":"CWE-645","name":"Overly Restrictive Account Lockout Mechanism"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":6.04},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.6.0, <= 10.6.1",">= 10.5.0, <= 10.5.2",">= 10.4.0, <= 10.4.4",">= 9.11.0, <= 9.11.11"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.7.0","10.6.2","10.5.3","10.4.5","9.11.12"]}],"solutions":{"items":["Update Mattermost to versions 10.7.0, 10.6.2, 10.5.3, 10.4.5, 9.11.12 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-05-15T13:43:06.790330Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=10.6.0, <10.6.2",">=10.5.0, <10.5.3",">=10.4.0, <10.4.5",">=9.11.0, <9.11.12","<8.0.0-20250415054241-76ab3867b785"],"patched":["10.6.2","10.5.3","10.4.5","9.11.12","8.0.0-20250415054241-76ab3867b785"],"from":["GHSA-qgwx-rffp-6cx9","GO-2025-3692"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=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"],"patched":["9.11.12+incompatible","10.4.5+incompatible","10.5.3+incompatible","10.6.2+incompatible"],"from":["GO-2025-3692"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3692"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3692"],"provenance":"source"}],"summary":{"text":"Repeated failed login attempts through Mattermost do not trigger a lockout for LDAP users in Mattermost versions 10.6.x up to 10.6.1, 10.5.x up to 10.5.2, 10.4.x up to 10.4.4, and 9.11.x up to 9.11.11, which is the flaw in the Mattermost product's LDAP login handling. An unauthenticated attacker with network access to the Mattermost server can repeatedly submit login attempts against a targeted external LDAP account, locking that account in the directory without needing credentials, user interaction, or any non-default configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:19Z"},"euvd":{"id":"EUVD-2025-15150","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-4128","published":"2025-06-11","fixed":"10.5.5+incompatible","kev":false,"link":{"from":"CVE-2025-31947","to":"CVE-2025-4128","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250415054241-76ab3867b785","toFixed":"8.0.0-20250422131222-701ddc896a10","daysApart":27}]}},{"cve":"CVE-2025-9081","published":"2025-09-19","fixed":"10.5.9+incompatible","kev":false},{"cve":"CVE-2025-47700","published":"2025-08-21","fixed":"10.5.10+incompatible","kev":false},{"cve":"CVE-2025-9084","published":"2025-09-15","fixed":"10.5.10+incompatible","kev":false},{"cve":"CVE-2025-31947","published":"2025-05-15","fixed":"10.6.2+incompatible","kev":false},{"cve":"CVE-2025-3446","published":"2025-05-15","fixed":"10.6.2+incompatible","kev":false},{"cve":"CVE-2025-1792","published":"2025-05-30","fixed":"10.7.1+incompatible","kev":false},{"cve":"CVE-2025-2571","published":"2025-05-30","fixed":"10.7.1+incompatible","kev":false,"link":{"from":"CVE-2025-31947","to":"CVE-2025-2571","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"10.6.2+incompatible","toFixed":"10.6.3+incompatible","daysApart":15},{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"10.6.2","toFixed":"10.6.3","daysApart":15}]}},{"cve":"CVE-2025-3230","published":"2025-05-30","fixed":"10.7.1+incompatible","kev":false,"link":{"from":"CVE-2025-31947","to":"CVE-2025-3230","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"10.6.2+incompatible","toFixed":"10.6.3+incompatible","daysApart":15},{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"10.6.2","toFixed":"10.6.3","daysApart":15}]}},{"cve":"CVE-2025-3913","published":"2025-05-29","fixed":"10.7.1+incompatible","kev":false,"link":{"from":"CVE-2025-31947","to":"CVE-2025-3913","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"10.6.2+incompatible","toFixed":"10.6.3+incompatible","daysApart":14},{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"10.6.2","toFixed":"10.6.3","daysApart":14}]}}],"package":"Go:github.com/mattermost/mattermost-server"}}