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.
History

Fri, 04 Sep 2026 12:15:00 +0000


Thu, 03 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Grafana
Grafana grafana Enterprise
Vendors & Products Grafana
Grafana grafana Enterprise

Thu, 03 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
Title CVE-2026-12704 CVE Record SAML assertion replay via skipped InResponseTo validation

Wed, 02 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 02 Sep 2026 11:00:00 +0000

Type Values Removed Values Added
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.
Title CVE-2026-12704 CVE Record
Weaknesses CWE-294
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GRAFANA

Published: 2026-09-02T16:05:42.965Z

Updated: 2026-09-03T08:07:34.086Z

Reserved: 2026-06-19T10:24:45.152Z

Link: CVE-2026-12704

cve-icon Vulnrichment

Updated: 2026-09-02T18:12:46.607Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-02T16:17:14.383

Modified: 2026-09-03T16:37:52.170

Link: CVE-2026-12704

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-02T00:00:00Z

Links: CVE-2026-12704 - Bugzilla