Skip to main content
EPSS 0.3%top 82%

CVE-2026-12704: CWE-294 in Grafana Grafana Enterprise

0
Medium
Published: 09/08/2026 (09/08/2026, 08:14:50 UTC)
Source: CVE Database V5
Vendor/Project: Grafana
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

Grafana

Grafana Enterprise

Affected versions
>=11.6.0 <=11.6.17>=12.2.0 <=12.2.11>=12.3.0 <=12.3.11>=12.4.0 <=12.4.10>=13.0.0 <=13.0.7>=13.1.0 <=13.1.4>=13.2.0 <=13.2.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:18:53 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses