Live threats

All CVEs / Mattermost

CVE-2025-2571Mattermost Server

Medium 4.2

Priority
25
CVSS 3.1
4.2
EPSS
—
Auth required
Yes
Published
May 30, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-303
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mattermost Server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mattermost/mattermost-server ≥ 9.0.0-rc1+incompatible < 9.11.13+incompatible 9.11.13+incompatible go get github.com/mattermost/mattermost-server@v9.11.13+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.0.0-rc1+incompatible < 10.5.4+incompatible 10.5.4+incompatible go get github.com/mattermost/mattermost-server@v10.5.4+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.6.0-rc1+incompatible < 10.6.3+incompatible 10.6.3+incompatible go get github.com/mattermost/mattermost-server@v10.6.3+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.7.0-rc1+incompatible < 10.7.1+incompatible 10.7.1+incompatible go get github.com/mattermost/mattermost-server@v10.7.1+incompatible
Go github.com/mattermost/mattermost-server/v5 all no fixed version —
Go github.com/mattermost/mattermost-server/v6 all no fixed version —
Go github.com/mattermost/mattermost/server/v8 ≥ 10.7.0-rc1 < 10.7.1 10.7.1 go get github.com/mattermost/mattermost/server/v8@v10.7.1
Go github.com/mattermost/mattermost/server/v8 ≥ 10.0.0-rc1 < 10.5.4 10.5.4 go get github.com/mattermost/mattermost/server/v8@v10.5.4
Go github.com/mattermost/mattermost/server/v8 ≥ 9.0.0-rc1 < 9.11.13 9.11.13 go get github.com/mattermost/mattermost/server/v8@v9.11.13
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250414095146-04676582cdd2 8.0.0-20250414095146-04676582cdd2 go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250414095146-04676582cdd2
Go github.com/mattermost/mattermost/server/v8 ≥ 10.6.0-rc1 < 10.6.3 10.6.3 go get github.com/mattermost/mattermost/server/v8@v10.6.3
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250414095146-04676582cdd2 8.0.0-20250414095146-04676582cdd2 go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250414095146-04676582cdd2

Per OSV / GitHub Advisories (GO-2025-3729, GHSA-8cgx-9ccj-3gwr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mattermostmattermost_server≥ 9.11.0 < 9.11.13
mattermostmattermost_server≥ 10.5.0 < 10.5.4
mattermostmattermost_server≥ 10.6.0 < 10.6.3
mattermostmattermost_server≥ 10.7.0 < 10.7.1

Official sources

References

Links published by the sources. Open them with care.