Advisory

GHSA-8cgx-9ccj-3gwr

Also known as: CVE-2025-2571, GO-2025-3729

Summary

Mattermost fails to clear Google OAuth credentials

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-05-30 15:30 UTC
Modified
2025-06-03 18:57 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.7.0-rc1, fixed 10.7.1 (semver)

Fixed versions

10.7.1

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.0.0-rc1, fixed 10.5.4 (semver)

Fixed versions

10.5.4

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.0.0-rc1, fixed 9.11.13 (semver)

Fixed versions

9.11.13

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250414095146-04676582cdd2 (semver)

Fixed versions

8.0.0-20250414095146-04676582cdd2

Fix

  • Fixed version 8.0.0-20250414095146-04676582cdd2
    go get github.com/mattermost/mattermost/server/[email protected]

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.6.0-rc1, fixed 10.6.3 (semver)

Fixed versions

10.6.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences