CVE-2026-12704: SAML assertion replay via skipped InResponseTo validation
CVE-2026-12704 affects 68 listed versions of Grafana Labs Grafana in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Grafana Labs Grafana
68 of 250 listed versions are affected. Fixed in 13.2.1. The newest release, 13.3.2, is not affected.
13.2.0 13.1.4 13.1.3 13.1.2 13.1.1 13.1.0 13.0.7 13.0.6 13.0.5 13.0.4 13.0.3 13.0.2 13.0.1+security-01 13.0.1 12.4.10 12.4.9 12.4.8 12.4.7 12.4.6 12.4.5 12.4.4 12.4.3+security-02 12.4.3 12.3.11 12.3.10 12.3.9 12.3.8 12.3.7 12.3.6+security-04 12.3.6+security-01 12.3.6 12.3.5 12.3.4 12.3.3 12.3.2+security-01 12.3.2 12.3.1+security-01 12.3.1 12.2.11 12.2.10 12.2.9 12.2.8+security-04 12.2.8+security-01 12.2.8 12.2.7 12.2.6 12.2.5 12.2.4+security-01 12.2.4 12.2.3+security-01 12.2.3 12.2.2 12.2.1+security-01 11.6.17 11.6.16 11.6.15 11.6.14+security-04 11.6.14+security-01 11.6.14 11.6.13 and 8 more
What it is
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:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N (Grafana)
Published by Grafana on 2 September 2026. Last changed 3 September 2026.
Sources
Check one version you run: look CVE-2026-12704 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.