Live threats

All CVEs / Mattermost

CVE-2025-31947Mattermost Server

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
May 15, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-645
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mattermost Server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mattermost/mattermost-server ≥ 9.11.0+incompatible < 9.11.12+incompatible 9.11.12+incompatible go get github.com/mattermost/mattermost-server@v9.11.12+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.4.0+incompatible < 10.4.5+incompatible 10.4.5+incompatible go get github.com/mattermost/mattermost-server@v10.4.5+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.5.0+incompatible < 10.5.3+incompatible 10.5.3+incompatible go get github.com/mattermost/mattermost-server@v10.5.3+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.6.0+incompatible < 10.6.2+incompatible 10.6.2+incompatible go get github.com/mattermost/mattermost-server@v10.6.2+incompatible
Go github.com/mattermost/mattermost-server/v5 all no fixed version —
Go github.com/mattermost/mattermost-server/v6 all no fixed version —
Go github.com/mattermost/mattermost/server/v8 ≥ 10.6.0 < 10.6.2 10.6.2 go get github.com/mattermost/mattermost/server/v8@v10.6.2
Go github.com/mattermost/mattermost/server/v8 ≥ 10.5.0 < 10.5.3 10.5.3 go get github.com/mattermost/mattermost/server/v8@v10.5.3
Go github.com/mattermost/mattermost/server/v8 ≥ 10.4.0 < 10.4.5 10.4.5 go get github.com/mattermost/mattermost/server/v8@v10.4.5
Go github.com/mattermost/mattermost/server/v8 ≥ 9.11.0 < 9.11.12 9.11.12 go get github.com/mattermost/mattermost/server/v8@v9.11.12
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250415054241-76ab3867b785 8.0.0-20250415054241-76ab3867b785 go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250415054241-76ab3867b785
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250415054241-76ab3867b785 8.0.0-20250415054241-76ab3867b785 go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250415054241-76ab3867b785

Per OSV / GitHub Advisories (GO-2025-3692, GHSA-qgwx-rffp-6cx9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mattermostmattermost_server≥ 9.11.0 < 9.11.12
mattermostmattermost_server≥ 10.4.0 < 10.4.5
mattermostmattermost_server≥ 10.5.0 < 10.5.3
mattermostmattermost_server≥ 10.6.0 < 10.6.2

Official sources

References

Links published by the sources. Open them with care.