CVE-2026-12704
published 2026-09-02CVE-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…
PriorityP339medium6.8CVSS 3.1
AVNACHPRNUIRSUCHIHAN
EPSS
0.27%
18.4th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| grafana | grafana_enterprise | 11.6.0 – 11.6.17 | — |
| grafana | grafana_enterprise | 12.2.0 – 12.2.11 | — |
| grafana | grafana_enterprise | 12.3.0 – 12.3.11 | — |
| grafana | grafana_enterprise | 12.4.0 – 12.4.10 | — |
| grafana | grafana_enterprise | 13.0.0 – 13.0.7 | — |
| grafana | grafana_enterprise | 13.1.0 – 13.1.4 | — |
| grafana | grafana_enterprise | 13.2.0 – 13.2.0 | — |
CVSS provenance
nvdv3.16.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
vendor_redhat6.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
Grafana Enterprise: Grafana Enterprise: SAML assertion replay via skipped InResponseTo validation
vendor_redhat·2026-09-02·CVSS 6.8
CVE-2026-12704 [MEDIUM] CWE-294 Grafana Enterprise: Grafana Enterprise: SAML assertion replay via skipped InResponseTo validation
Grafana Enterprise: Grafana Enterprise: SAML assertion replay via skipped InResponseTo validation
On Grafana Enterprise instances with the optional IdP-initiated SAML single sign-on enabled (allow_idp_initiated = true, disabled by default), Grafana did not fully validate the InResponseTo field of SAML responses. An attacker who obtained a valid, signed SAML assertion for a user could replay it within its short validity window to obtain an authenticated session as that user.
Mitigation: Upgrade to a fixed version: 11.6.0+, 12.4.11+ (12.4.x), 13.0.8+ (13.0.x), 13.1.5+ (13.1.x), or 13.2.1+ (13.2.x and newer — 13.2.0 itself is still vulnerable). Not applicable to Grafana OSS, which does not include the Enterprise SAML SSO feature.
Package: multicluster-globalhub/multicluster-globalhub-grafa
VulDB
Grafana Enterprise up to 13.2.0 SAML Library InResponseTo authentication replay
vuldb·2026-09-02·CVSS 6.8
CVE-2026-12704 [MEDIUM] Grafana Enterprise up to 13.2.0 SAML Library InResponseTo authentication replay
A vulnerability classified as critical was found in Grafana Enterprise up to 13.2.0. This affects an unknown function of the component SAML Library. Executing a manipulation of the argument InResponseTo can lead to authentication bypass by capture-replay.
This vulnerability is registered as CVE-2026-12704. It is possible to launch the attack remotely. No exploit is available.
GHSA
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.
ghsa_unreviewed·2026-09-02
CVE-2026-12704 [MEDIUM] CWE-294 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.
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.
No detection rules found.
No public exploits indexed.
2026-09-02
Published