Skip to content
Heist/ feed
Back to feed
Medium

Google OAuth Authentication Bypass for Converted Bot Accounts

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-2571
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:19 UTC · Revision 1

Source evidence

Google OAuth Authentication Bypass for Converted Bot Accounts

core-osv · Original source

Published 30 May 2025, 14:22 UTC

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.

osv:CVE-2025-2571
Complete source record
{
  "id": "354d620083b08c2f388feddc5c396f5c3beb8e075d14947f11b7b380006148fb",
  "url": "https://osv.dev/vulnerability/CVE-2025-2571",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2025-2571",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-2571",
      "aliases": [
        "CVE-2025-2571",
        "GHSA-8cgx-9ccj-3gwr",
        "GO-2025-3729"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mattermost/mattermost",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0bc2ddd42375a75ab14e63f038165150d4f07659"
                },
                {
                  "fixed": "686c1746a0454421742e7fd22f7aecaccd7a0d0a"
                },
                {
                  "introduced": "58bd34fd34cbd7d3da777d627b6cffdf8a532930"
                },
                {
                  "fixed": "389a3acd5d77daea50ec00ed348e0fae143fc0a7"
                },
                {
                  "introduced": "5eebc77b68c0c2b63103316e3c92342c13fd93f9"
                },
                {
                  "fixed": "a8a7c04d36b32f38bea3b8982988fc02ea734ae2"
                },
                {
                  "introduced": "f6b324a9d71843e8f48eba9e90dfbeabcbac1ae7"
                },
                {
                  "fixed": "7106c46dabbd4e324ed594973ae662fa65069545"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.11.0"
                      },
                      {
                        "fixed": "9.11.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.5.0"
                      },
                      {
                        "fixed": "10.5.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.6.0"
                      },
                      {
                        "fixed": "10.6.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.7.0"
                      },
                      {
                        "fixed": "10.7.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v10.6.3-rc1",
            "v10.5.4-rc1",
            "v9.11.13-rc1",
            "v10.6.2",
            "v10.5.3",
            "v9.11.12",
            "v10.5.3-rc1",
            "v10.6.2-rc1",
            "v9.11.12-rc1",
            "v10.7.0-rc2",
            "v10.7.0",
            "mattermost-redux@10.7.0",
            "@mattermost/types@10.7.0",
            "@mattermost/client@10.7.0",
            "v9.11.11-rc1",
            "v9.11.11",
            "v9.11.10",
            "v10.5.2",
            "v10.6.1",
            "v10.6.0-rc3",
            "v10.6.0",
            "mattermost-redux@10.6.0",
            "@mattermost/types@10.6.0",
            "@mattermost/client@10.6.0",
            "v9.11.10-rc1",
            "v9.11.9",
            "v10.5.1",
            "v10.5.1-rc2",
            "v10.5.1-rc1",
            "v9.11.9-rc2",
            "v9.11.9-rc1",
            "v10.5.0-rc6",
            "v10.5.0",
            "@mattermost/types@10.5.0",
            "@mattermost/client@10.5.0",
            "v9.11.8",
            "v9.11.7-rc3",
            "v9.11.7",
            "v9.11.7-rc2",
            "v9.11.7-rc1",
            "v9.11.6",
            "v9.11.6-rc2",
            "v9.11.6-rc1",
            "v9.11.5",
            "v9.11.5-rc1",
            "v9.11.4",
            "v9.11.4-rc1",
            "v9.11.3",
            "v9.11.3-rc2",
            "v9.11.3-rc1",
            "v9.11.2",
            "v9.11.2-rc2",
            "v9.11.2-rc1",
            "v9.11.1-rc1",
            "v9.11.1",
            "v9.11.0-rc3",
            "v9.11.0",
            "@mattermost/types@9.11.0",
            "@mattermost/client@9.11.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2571.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.781908500Z",
      "provider": "osv",
      "references": [
        "https://mattermost.com/security-updates",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2571.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-2571"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-303"
        ],
        "cna_assigner": "Mattermost",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.7.0"
                  },
                  {
                    "last_affected": "10.7.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.6.0"
                  },
                  {
                    "last_affected": "10.6.2"
                  },
                  {
                    "introduced": "10.5.0"
                  },
                  {
                    "last_affected": "10.5.3"
                  },
                  {
                    "introduced": "9.11.0"
                  },
                  {
                    "last_affected": "9.11.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2571.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-2571",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504063,
  "published_at": "2025-05-30T14:22:08.913+00:00"
}