CVE-2025-2571
MEDIUM 4.2CVSS 3.1Mattermost fails to clear Google OAuth credentials
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.
- Published
- 30 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-303
- Also known as
- GHSA-8cgx-9ccj-3gwrGO-2025-3729
- Sources
- NVDJSONOSV GHSA-8cgx-9ccj-3gwrJSONOSV GO-2025-3729JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.11.0, < 9.11.13 | 9.11.13 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.5.0, < 10.5.4 | 10.5.4 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.6.0, < 10.6.3 | 10.6.3 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.7.0, < 10.7.1 | 10.7.1 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 10.7.0-rc1, < 10.7.1 | 10.7.1 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 10.0.0-rc1, < 10.5.4 | 10.5.4 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.0.0-rc1, < 9.11.13 | 9.11.13 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250414095146-04676582cdd2 | 8.0.0-20250414095146-04676582cdd2 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 10.6.0-rc1, < 10.6.3 | 10.6.3 |
| OSV | 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 |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | all versions |
References
- https://mattermost.com/security-updates · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-2571 · ADVISORY
- https://github.com/mattermost/mattermost/commit/04676582cdd26f4fdfa78fcf60a7f8745e6b27f5 · WEB
- https://github.com/mattermost/mattermost · PACKAGE
- https://github.com/advisories/GHSA-8cgx-9ccj-3gwr · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 30 May 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Jun 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 May 2025)