Security incident · CVE-2026-12704
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.
Published Sep 2, 2026 · catalog updated Nov 4, 2026 · When SAML IdP-initiated login
Last checked Nov 6, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2026-12704. EPSS is 0.29%. Act only if a listed version of When SAML IdP-initiated login is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (When SAML IdP-initiated login).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium6.8
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.29%
- Remediation
- Advisory link
- Affected products
- Alpine:v3.24 grafana
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Alpine:v3.24 grafana0 → 12.4.14-r0
How to fix CVE-2026-12704
Upgrade
CVE-2026-12704 lists a fix boundary at 12.4.14-r0. Compare the installed build with that boundary before you change production.
Version check
Fixed in 12.4.14-r0
Advisory
Open the bsi record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-12704. EPSS is 0.29%. Act only if a listed version of When SAML IdP-initiated login is installed.
Which versions are affected?
Compare what you have installed with 0 → 12.4.14-r0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 0.29%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Sep 2, 2026 · Trivy Vulnerability DB
Detected
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 a
Nov 4, 2026 · Trivy Vulnerability DB
Fix available
grafana fixed in 12.4.14-r0
Nov 4, 2026 · Trivy Vulnerability DB
Fix available
grafana fixed in 12.4.14-r0
Nov 4, 2026 · Trivy Vulnerability DB
Updated
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 a
Sources
- BSI CERT-BundGovernment advisoryCVE-2026-12704
Grafana Enterprise: Mehrere Schwachstellen ermöglichen Erlangen von Benutzer- oder Administratorrechten
wid.cert-bund.de - CVE.orgVulnerability recordCVE-2026-12704
Official CVE identifier
cve.org - Trivy Vulnerability DBPackage advisoryALPINE-CVE-2026-12704
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
osv.dev
References
Freshness
Last verified in this catalog Nov 5, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- BSI CERT-BundNov 6, 2026
- CVE.orgNov 5, 2026
- Trivy Vulnerability DBNov 5, 2026