CVE-2025-31947

Medium

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.

SeverityMedium
CVSS5.8
Exploit probability—
ProductMattermost Server
PublishedMay 15, 2025
First seenMay 15, 2025
Weakness typeCWE-645CWE-645

How to fix

Update
  • mattermost mattermost_server9.11.12, 10.4.5, 10.5.3, 10.6.2 or later
  • github.com/mattermost/mattermost/server/v810.6.2, 10.5.3, 10.4.5, 9.11.12, 8.0.0-20250415054241-76ab3867b785 or later
  • github.com/mattermost/mattermost-server9.11.12+incompatible, 10.4.5+incompatible, 10.5.3+incompatible, 10.6.2+incompatible or later

Affected products

ProductAffected versionsFixed in
mattermost mattermost_server9.11.0 ≤ v < 9.11.12, 10.4.0 ≤ v < 10.4.5, 10.5.0 ≤ v < 10.5.3, 10.6.0 ≤ v < 10.6.29.11.12, 10.4.5, 10.5.3, 10.6.2
github.com/mattermost/mattermost/server/v8Go10.6.0 ≤ v < 10.6.2, 10.5.0 ≤ v < 10.5.3, 10.4.0 ≤ v < 10.4.5, 9.11.0 ≤ v < 9.11.12, v < 8.0.0-20250415054241-76ab3867b78510.6.2, 10.5.3, 10.4.5, 9.11.12, 8.0.0-20250415054241-76ab3867b785
github.com/mattermost/mattermost-serverGo9.11.0+incompatible ≤ v < 9.11.12+incompatible, 10.4.0+incompatible ≤ v < 10.4.5+incompatible, 10.5.0+incompatible ≤ v < 10.5.3+incompatible, 10.6.0+incompatible ≤ v < 10.6.2+incompatible9.11.12+incompatible, 10.4.5+incompatible, 10.5.3+incompatible, 10.6.2+incompatible
github.com/mattermost/mattermost-server/v5GoNo range specified—
github.com/mattermost/mattermost-server/v6GoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.