CVE-2026-12704

Medium

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.

SeverityMedium
CVSS6.8
Exploit probability—
ProductGrafana Enterprise
PublishedSep 2, 2026
First seenSep 2, 2026
Weakness typeCWE-294CWE-294

How to fix

Affected products

ProductAffected versionsFixed in
Grafana Grafana Enterprise11.6.0 ≤ v ≤ 11.6.17, 12.2.0 ≤ v ≤ 12.2.11, 12.3.0 ≤ v ≤ 12.3.11, 12.4.0 ≤ v ≤ 12.4.10, 13.0.0 ≤ v ≤ 13.0.7, 13.1.0 ≤ v ≤ 13.1.4, 13.2.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.