CVE-2026-12704

MEDIUMCVSS 6.8/10EPSS 0.27%

Last modified

CVE-2026-12704 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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. EPSS estimates a 0.27% chance of exploitation in the next 30 days.

Description

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.

Metrics

EPSS Probability
0.27%

19.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
GrafanaGrafana Enterprise>= 11.6.0, <= 11.6.17; >= 12.2.0, <= 12.2.11; >= 12.3.0, <= 12.3.11; >= 12.4.0, <= 12.4.10; >= 13.0.0, <= 13.0.7; >= 13.1.0, <= 13.1.4; >= 13.2.0, <= 13.2.0

References

Timeline

Published
Last Modified
Status
Awaiting Analysis

Frequently Asked Questions

What is 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.
How severe is CVE-2026-12704?
CVE-2026-12704 has a CVSS score of 6.8/10 (MEDIUM severity). The EPSS model estimates a 0.27% probability of exploitation in the next 30 days.
How do I fix CVE-2026-12704?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-12704?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST