Skip to content

CVE-2025-31947 Repeated LDAP login failures can lock an LDAP account

MediumCVSS 5.3 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

4 packages: 3 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 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 +1 more 9.11.12+incompatible, 10.4.5+incompatible, 10.5.3+incompatible, 10.6.2+incompatible Partially fixed
Mattermost >= 9.11.0, <= 9.11.11; >= 10.4.0, <= 10.4.4; >= 10.5.0, <= 10.5.2; >= 10.6.0, <= 10.6.1 after 9.11.11, 10.4.4, 10.5.2, 10.6.1 Fixed
Mattermost github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250415054241-76ab3867b785; >= 9.11.0, < 9.11.12; >= 9.11.0, <= 9.11.11; >= 10.4.0, < 10.4.5 +5 more 8.0.0-20250415054241-76ab3867b785, 9.11.12, 10.4.5, 10.5.3, 10.6.2 Fixed
mattermost server >= 9.11.0, < 9.11.12; >= 10.4.0, < 10.4.5; >= 10.5.0, < 10.5.3; >= 10.6.0, < 10.6.2 9.11.12, 10.4.5, 10.5.3, 10.6.2 Fixed

Affected products

ProductAffected versionsFixed in
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 10.6.0, < 10.6.2 10.6.2
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 10.5.0, < 10.5.3 10.5.3
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 10.4.0, < 10.4.5 10.4.5
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.11.0, < 9.11.12 9.11.12
Mattermost github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250415054241-76ab3867b785 8.0.0-20250415054241-76ab3867b785
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.11.0+incompatible, < 9.11.12+incompatible 9.11.12+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.4.0+incompatible, < 10.4.5+incompatible 10.4.5+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.5.0+incompatible, < 10.5.3+incompatible 10.5.3+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.6.0+incompatible, < 10.6.2+incompatible 10.6.2+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) All versions No fix listed
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 10.6.0, <= 10.6.1 No fix listed
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 10.5.0, <= 10.5.2 No fix listed
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 10.4.0, <= 10.4.4 No fix listed
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.11.0, <= 9.11.11 No fix listed
Mattermost >= 10.6.0, <= 10.6.1 No fix listed
Mattermost >= 10.5.0, <= 10.5.2 No fix listed
Mattermost >= 10.4.0, <= 10.4.4 No fix listed
Mattermost >= 9.11.0, <= 9.11.11 No fix listed
mattermost server >= 9.11.0, < 9.11.12 9.11.12
mattermost server >= 10.4.0, < 10.4.5 10.4.5
mattermost server >= 10.5.0, < 10.5.3 10.5.3
mattermost server >= 10.6.0, < 10.6.2 10.6.2

References