← Back to CVE Explorer

CVE-2025-12419

Full vulnerability record from the local CVENow database.

Description

Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validate OAuth state tokens during OpenID Connect authentication which allows an authenticated attacker with team creation privileges to take over a user account via manipulation of authentication data during the OAuth completion flow. This requires email verification to be disabled (default: disabled), OAuth/OpenID Connect to be enabled, and the attacker to control two users in the SSO system with one of them never having logged into Mattermost.

Severity
CRITICAL
CVSS score
9.9 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2025-11-27 16:15:46.957000
Last modified
2026-10-19 13:10:00.110000
View original CVE JSON
{
  "id": "CVE-2025-12419",
  "sourceIdentifier": "[email protected]",
  "published": "2025-11-27T16:15:46.957",
  "lastModified": "2026-10-19T13:10:00.110",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validate OAuth state tokens during OpenID Connect authentication which allows an authenticated attacker with team creation privileges to take over a user account via manipulation of authentication data during the OAuth completion flow. This requires email verification to be disabled (default: disabled), OAuth/OpenID Connect to be enabled, and the attacker to control two users in the SSO system with one of them never having logged into Mattermost."
    },
    {
      "lang": "es",
      "value": "Las versiones de Mattermost 10.12.x menor o igual que 10.12.1, 10.11.x menor o igual que 10.11.4, 10.5.x menor o igual que 10.5.12, 11.0.x menor o igual que 11.0.3 no validan correctamente los tokens de estado de OAuth durante la autenticación de OpenID Connect, lo que permite a un atacante autenticado con privilegios de creación de equipos tomar el control de una cuenta de usuario mediante la manipulación de datos de autenticación durante el flujo de finalización de OAuth. Esto requiere que la verificación de correo electrónico esté deshabilitada (predeterminado: deshabilitado), que OAuth/OpenID Connect esté habilitado, y que el atacante controle dos usuarios en el sistema SSO, uno de los cuales nunca haya iniciado sesión en Mattermost."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Mattermost",
          "product": "Mattermost",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "10.12.0",
              "lessThanOrEqual": "10.12.1",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "10.11.0",
              "lessThanOrEqual": "10.11.4",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "10.5.0",
              "lessThanOrEqual": "10.5.12",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "11.0.0",
              "lessThanOrEqual": "11.0.3",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "11.1.0",
              "status": "unaffected"
            },
            {
              "version": "10.12.2",
              "status": "unaffected"
            },
            {
              "version": "10.11.5",
              "status": "unaffected"
            },
            {
              "version": "10.5.13",
              "status": "unaffected"
            },
            {
              "version": "11.0.4",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
          "baseScore": 9.9,
          "baseSeverity": "CRITICAL",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 3.1,
        "impactScore": 6.0
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2025-12-02T04:55:59.011337Z",
          "id": "CVE-2025-12419",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-303"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "10.5.0",
              "versionEndExcluding": "10.5.13",
              "matchCriteriaId": "91D99F7F-B4EE-447C-9B77-82DD64B1D83A"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "10.11.0",
              "versionEndExcluding": "10.11.5",
              "matchCriteriaId": "A8368192-621C-4043-827E-DB4F6946AD92"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "10.12.0",
              "versionEndExcluding": "10.12.2",
              "matchCriteriaId": "ED48D731-6490-4DD5-94D4-EE4555BB93ED"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "11.0.0",
              "versionEndExcluding": "11.0.4",
              "matchCriteriaId": "387D98AD-59D7-4783-B0D2-E5CF2F7343B0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://mattermost.com/security-updates",
      "source": "[email protected]",
      "tags": [
        "Vendor Advisory"
      ]
    }
  ]
}