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.
Published: 2026-09-02
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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'}


Subscriptions

Grafana Grafana Enterprise
cve-icon MITRE

Status: PUBLISHED

Assigner: GRAFANA

Published:

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 : Received

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

Modified: 2026-09-02T19:17:16.240

Link: CVE-2026-12704

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T10:15:04Z

Weaknesses
  • CWE-294

    Authentication Bypass by Capture-replay