p PatchFirst

CVE-2026-12704

CVE-2026-12704 · SAML assertion replay via skipped InResponseTo validation

This page contains facts from public vulnerability sources. Check the original advisory before updating.

When SAML IdP-initiated login is enabled in Grafana Enterprise, the SAML library skips validation of the InResponseTo field on all SAML responses, including SP-initiated logins. This removes anti-replay protection, allowing an attacker who obtains a valid signed SAML assertion to replay it and gain a session as the victim user. Only instances with the allow_idp_initiated SAML setting enabled are affected; this setting is off by default and Grafana OSS is not affected.

CVSS 6.8 · Medium · EPSS 0.3%

Published
Updated

Stack: applications

Affected products and versions

  • grafana

    Versions
    • ≥ 11.6.0, ≤ 11.6.17: Affected (semver)
    • ≥ 12.2.0, ≤ 12.2.11: Affected (semver)
    • ≥ 12.3.0, ≤ 12.3.11: Affected (semver)
    • ≥ 12.4.0, ≤ 12.4.10: Affected (semver)
    • ≥ 13.0.0, ≤ 13.0.7: Affected (semver)
    • ≥ 13.1.0, ≤ 13.1.4: Affected (semver)
    • ≥ 13.2.0, ≤ 13.2.0: Affected (semver)

    No fix published

Original sources

Check your server →