Vulnerability in Grafana Enterprise

CVE-2026-12704

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 v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-12704?
CVE-2026-12704 is a medium-severity vulnerability in Grafana Enterprise, classified under Authentication Bypass by Capture-replay. CVSS score: 6.8/10. Published 2026-09-02.
How severe is CVE-2026-12704?
Medium severity. CVSS v3 base score is 6.8 out of 10.