CVE-2026-12704: CWE-294 in Grafana Grafana Enterprise
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.
CVSS v3.1
Score 6.8medium
Affected software
Grafana
Grafana Enterprise
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
When SAML IdP-initiated login is enabled in Grafana Enterprise, the SAML library does not validate the InResponseTo field on all SAML responses, including those for SP-initiated logins. This omission removes anti-replay protection, enabling an attacker who obtains a valid signed SAML assertion to replay it and impersonate the victim user. Only Grafana Enterprise instances with the allow_idp_initiated setting enabled are vulnerable; this setting is disabled by default. Grafana OSS is not affected by this issue.
Potential Impact
An attacker who can obtain a valid signed SAML assertion can replay it to gain a session as the victim user, potentially leading to unauthorized access with the victim's privileges. This compromises confidentiality and integrity but does not affect availability. The vulnerability requires the allow_idp_initiated setting to be enabled, which is off by default, limiting exposure.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, it is recommended to disable the allow_idp_initiated SAML setting if it is not required. Monitor vendor communications for updates on patches or official fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GRAFANA
- Date Reserved
- 2026-06-19T10:24:45.152Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a984d61acd9273b4973eaa0
Added to database: 09/02/2026, 16:22:57 UTC
Last enriched: 09/07/2026, 13:18:53 UTC
Last updated: 10/17/2026, 06:48:15 UTC
Views: 916
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.