{"id":"CVE-2025-2571","aliases":["CVE-2025-2571","GHSA-8cgx-9ccj-3gwr","GO-2025-3729"],"related":[],"kind":"vulnerability","state":"published","title":"Google OAuth Authentication Bypass for Converted Bot Accounts","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Mattermost fails to clear Google OAuth credentials in github.com/mattermost/mattermost-server","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Mattermost 10.7.x &lt;= 10.7.0, 10.6.x &lt;= 10.6.2, 10.5.x &lt;= 10.5.3, 9.11.x &lt;= 9.11.12 no borran las credenciales de Google OAuth al convertir cuentas de usuario en cuentas de bot, lo que permite a los atacantes obtener acceso no autorizado a las cuentas de bot a través del flujo de registro de Google OAuth.","source":"nvd"}],"published":"2025-05-30T14:22:08.913Z","modified":"2026-06-17T09:07:12.260Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"}],"cwes":["CWE-303"],"affected":[{"ranges":[{"type":"semver","version":"10.7.0","status":"affected"},{"type":"semver","introduced":"10.6.0","lastAffected":"10.6.2","status":"affected"},{"type":"semver","introduced":"10.5.0","lastAffected":"10.5.3","status":"affected"},{"type":"semver","introduced":"9.11.0","lastAffected":"9.11.12","status":"affected"},{"version":"10.8.0","status":"unaffected"},{"version":"10.7.1","status":"unaffected"},{"version":"10.6.3","status":"unaffected"},{"version":"10.5.4","status":"unaffected"},{"version":"9.11.13","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"10.7.0-rc1","status":"affected","fixed":"10.7.1"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.0.0-rc1","status":"affected","fixed":"10.5.4"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.0.0-rc1","status":"affected","fixed":"9.11.13"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250414095146-04676582cdd2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.6.0-rc1","status":"affected","fixed":"10.6.3"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.0.0-rc1+incompatible","status":"affected","fixed":"9.11.13+incompatible"},{"type":"semver","introduced":"10.0.0-rc1+incompatible","status":"affected","fixed":"10.5.4+incompatible"},{"type":"semver","introduced":"10.6.0-rc1+incompatible","status":"affected","fixed":"10.6.3+incompatible"},{"type":"semver","introduced":"10.7.0-rc1+incompatible","status":"affected","fixed":"10.7.1+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250414095146-04676582cdd2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"9.11.0","fixed":"9.11.13"},{"status":"affected","introduced":"10.5.0","fixed":"10.5.4"},{"status":"affected","introduced":"10.6.0","fixed":"10.6.3"},{"status":"affected","introduced":"10.7.0","fixed":"10.7.1"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2571","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/04676582cdd26f4fdfa78fcf60a7f8745e6b27f5","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8cgx-9ccj-3gwr","tags":["advisory"],"sources":["go"]}],"credits":["eAhmed"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-30T14:44:27.228Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-2571","url":"https://www.cve.org/CVERecord?id=CVE-2025-2571","licence":"CVE Terms of Use","modified":"2025-05-30T14:44:40.129Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8cgx-9ccj-3gwr","url":"https://github.com/advisories/GHSA-8cgx-9ccj-3gwr","licence":"CC-BY-4.0","modified":"2025-06-03T18:57:03.541Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3729","url":"https://pkg.go.dev/vuln/GO-2025-3729","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:17.854Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-2571","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2571","licence":"Public domain","modified":"2026-06-17T09:07:12.260Z"}],"updatedAt":"2026-11-25T22:58:58.597Z","epss":{"score":0.00218,"percentile":0.12986,"date":"2026-12-02T12:00:21.000Z"}}