CVE-2026-12704
Received Received - Intake

SAML Replay Attack in Grafana Enterprise

Vulnerability report for CVE-2026-12704, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-02

Last updated on: 2026-09-02

Assigner: Grafana Labs

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-02
Last Modified
2026-09-02
Generated
2026-09-02
AI Q&A
2026-09-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
grafana grafana_enterprise From allow_idp_initiated (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-294 A capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes).

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Grafana Enterprise when SAML IdP-initiated login is enabled. The SAML library fails to validate the InResponseTo field in SAML responses, including those from SP-initiated logins. This removes anti-replay protection, allowing attackers to reuse a valid signed SAML assertion to impersonate users.

Impact Analysis

An attacker could capture a valid SAML assertion and replay it to gain unauthorized access to your Grafana instance as the victim user. This could lead to data breaches, unauthorized actions, or privilege escalation if the victim has elevated permissions.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. Organizations may face compliance violations, fines, or reputational damage if exploited.

Mitigation Strategies

Disable the allow_idp_initiated SAML setting in Grafana Enterprise if enabled. This setting is off by default and Grafana OSS is not affected.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12704. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart