Skip to content
OpenAdvisories
Medium · 4.2 CVE-2025-2571 EUVD-2025-16490GHSA-8cgx-9ccj-3gwrGO-2025-3729

Google OAuth Authentication Bypass for Converted Bot Accounts

Published May 30, 2025 · Updated May 30, 2025 · Assigned by Mattermost

Description

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.

Affected products

VendorProductAffectedFixed
Mattermost Mattermost 10.7.0, 10.6.0 – ≤ 10.6.2, 10.5.0 – ≤ 10.5.3, 9.11.0 – ≤ 9.11.12 10.8.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250612T141001-1.1 openSUSE-SU-2025:15225-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 9.0.0-rc1+incompatible, < 9.11.13+incompatible · >= 10.0.0-rc1+incompatible, < 10.5.4+incompatible · >= 10.6.0-rc1+incompatible, < 10.6.3+incompatible · >= 10.7.0-rc1+incompatible, < 10.7.1+incompatible 9.11.13+incompatible, 10.5.4+incompatible, 10.6.3+incompatible, 10.7.1+incompatible GO-2025-3729
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2025-3729
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2025-3729
Go github.com/mattermost/mattermost/server/v8 >= 10.7.0-rc1, < 10.7.1 10.7.1 GHSA-8cgx-9ccj-3gwr
Go github.com/mattermost/mattermost/server/v8 >= 10.0.0-rc1, < 10.5.4 10.5.4 GHSA-8cgx-9ccj-3gwr
Go github.com/mattermost/mattermost/server/v8 >= 9.0.0-rc1, < 9.11.13 9.11.13 GHSA-8cgx-9ccj-3gwr
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250414095146-04676582cdd2 8.0.0-20250414095146-04676582cdd2 GHSA-8cgx-9ccj-3gwr
Go github.com/mattermost/mattermost/server/v8 >= 10.6.0-rc1, < 10.6.3 10.6.3 GHSA-8cgx-9ccj-3gwr

Advisories 2

References