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

CVE-2025-2475: Mattermost vulnerable to Incorrect Implementation of Authentication Algorithm

April 14, 2025 (updated April 23, 2025)

Mattermost versions 10.5.x <= 10.5.1, 10.4.x <= 10.4.3, 9.11.x <= 9.11.9 fail to invalidate the cache when a user account is converted to a bot which allows an attacker to login to the bot exactly one time via normal credentials.

References

  • github.com/advisories/GHSA-6rqh-8465-2xcw
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/124547a9ef424431e1e6cf09bdba6c1099d415de
  • github.com/mattermost/mattermost/commit/40fd60714bd055e00c16301ba6dc0fddfc44e15e
  • github.com/mattermost/mattermost/commit/88523ceed8a7547c4a4203a30e7c3a8097346280
  • github.com/mattermost/mattermost/commit/bcd7a4c2bd856dbb40fcda227b363fa5f6f548a7
  • github.com/mattermost/mattermost/commit/fd356b62b4dd3318d2c8019d2310abdd6ce24c8c
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2025-2475
  • pkg.go.dev/vuln/GO-2025-3610

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 8.0.0-20250220161544-fd356b62b4dd, all versions starting from 9.11.0 before 9.11.10, all versions starting from 10.5.0 before 10.5.2

Fixed versions

  • 10.5.2
  • 9.11.10
  • 8.0.0-20250220161544-fd356b62b4dd

Solution

Upgrade to versions 10.5.2, 8.0.0-20250220161544-fd356b62b4dd, 9.11.10 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-303: Incorrect Implementation of Authentication Algorithm

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 14 Nov 2026 00:18:03 +0000.