CVE-2026-12704

SAML assertion replay via skipped InResponseTo validation

Published Sep 2, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Grafana
Grafana grafana Enterprise
Vendors & Products Grafana
Grafana grafana Enterprise
Type Values Removed Values Added
Title CVE-2026-12704 CVE Record SAML assertion replay via skipped InResponseTo validation
Type Values Removed Values Added
Metrics ssvc

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

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GRAFANA
Published
Updated
Sep 3, 2026, 8:07 AM
Reserved
Jun 19, 2026, 10:24 AM
Status
Awaiting Analysis
Published
Sep 2, 2026, 4:17 PM
Modified
Sep 3, 2026, 4:37 PM
Severity
Moderate
Public date
Sep 2, 2026, 12:00 AM