Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost/server/v8
  4. ›
  5. CVE-2025-31947

CVE-2025-31947: Mattermost Fails to Lockout LDAP Users After Repeated Login Failures

May 15, 2025 (updated May 17, 2025)

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.

References

  • github.com/advisories/GHSA-qgwx-rffp-6cx9
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/pull/30821
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2025-31947

Code Behaviors & Features

Detect and mitigate CVE-2025-31947 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.0.0-20250415054241-76ab3867b785, all versions starting from 9.11.0 before 9.11.12, all versions starting from 10.4.0 before 10.4.5, all versions starting from 10.5.0 before 10.5.3, all versions starting from 10.6.0 before 10.6.2

Fixed versions

  • 10.6.2
  • 10.5.3
  • 10.4.5
  • 9.11.12
  • 8.0.0-20250415054241-76ab3867b785

Solution

Upgrade to versions 10.4.5, 10.5.3, 10.6.2, 8.0.0-20250415054241-76ab3867b785, 9.11.12 or above.

Impact 5.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-645: Overly Restrictive Account Lockout Mechanism

Source file

go/github.com/mattermost/mattermost/server/v8/CVE-2025-31947.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 15 Feb 2026 12:19:00 +0000.