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

CVE-2025-2571: Mattermost fails to clear Google OAuth credentials

May 30, 2025

Mattermost versions 10.7.x <= 10.7.0, 10.6.x <= 10.6.2, 10.5.x <= 10.5.3, 9.11.x <= 9.11.12 fail to clear Google OAuth credentials when converting user accounts to bot accounts, allowing attackers to gain unauthorized access to bot accounts via the Google OAuth signup flow.

References

  • github.com/advisories/GHSA-8cgx-9ccj-3gwr
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/04676582cdd26f4fdfa78fcf60a7f8745e6b27f5
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2025-2571

Code Behaviors & Features

Detect and mitigate CVE-2025-2571 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-20250414095146-04676582cdd2, all versions starting from 9.0.0-rc1 before 9.11.13, all versions starting from 10.0.0-rc1 before 10.5.4, all versions starting from 10.6.0-rc1 before 10.6.3, all versions starting from 10.7.0-rc1 before 10.7.1

Fixed versions

  • 10.7.1
  • 10.5.4
  • 9.11.13
  • 8.0.0-20250414095146-04676582cdd2
  • 10.6.3

Solution

Upgrade to versions 10.5.4, 10.6.3, 10.7.1, 8.0.0-20250414095146-04676582cdd2, 9.11.13 or above.

Impact 4.2 MEDIUM

CVSS:3.1/AV:N/AC:H/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-2571.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 20 Jan 2026 00:18:13 +0000.