CVE-2026-12704
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.
How to fix
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Grafana Grafana Enterprise | 11.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.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.