Bug 2521851 (CVE-2026-12704)

Summary: CVE-2026-12704 Grafana Enterprise: Grafana Enterprise: SAML assertion replay via skipped InResponseTo validation
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amctagga, aoconnor, bniver, flucifre, gmeno, gparvin, groman, lchilton, mbenjamin, mhackett, rhaigner, rhel-process-autobot, security-response-team, sfeifer, sostapov, vereddy, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
On Grafana Enterprise instances with the optional IdP-initiated SAML single sign-on enabled (allow_idp_initiated = true, disabled by default), Grafana did not fully validate the InResponseTo field of SAML responses. An attacker who obtained a valid, signed SAML assertion for a user could replay it within its short validity window to obtain an authenticated session as that user.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-08-24 12:55:10 UTC
Reported by Grafana Labs via private security advisory (Jira PSIRTSUPT-22206), received 2026-08-20. CVSS 6.8 (Medium) per upstream.

Affected products and versions: Grafana Enterprise, all supported versions up to and including 11.6.17, 12.2.11, 12.3.10, 12.4.8, 13.0.6, 13.1.3. Grafana OSS is not affected (SAML SSO is an Enterprise/Cloud feature). On-premise and Grafana Cloud (Cloud already patched).

Fixed in Grafana's private security releases: 12.3.11+security-01, 12.4.9+security-01, 13.0.7+security-01, 13.1.4+security-01, 13.2.0+security-01. Public fix expected at least 14 calendar days after 2026-08-20 per upstream embargo terms.