CVE-2026-12704

Summary

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.

Affected Software

VendorProductVersion RangeStatus
GrafanaGrafana Enterprise11.6.0 <= 11.6.17affected
GrafanaGrafana Enterprise12.2.0 <= 12.2.11affected
GrafanaGrafana Enterprise12.3.0 <= 12.3.11affected
GrafanaGrafana Enterprise12.4.0 <= 12.4.10affected
GrafanaGrafana Enterprise13.0.0 <= 13.0.7affected
GrafanaGrafana Enterprise13.1.0 <= 13.1.4affected
GrafanaGrafana Enterprise13.2.0 <= 13.2.0affected

Weaknesses

  • CWE-294: CWE-294

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References