SAML assertion replay via skipped InResponseTo validation
Summary
| CVE | CVE-2026-12704 |
|---|---|
| State | PUBLISHED |
| Assigner | GRAFANA |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-02 16:17:14 UTC |
| Updated | 2026-09-03 16:37:52 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.8 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS: 0.002730000 probability, percentile 0.194210000 (date 2026-09-07)
Problem Types: CWE-294 | CWE-294 CWE-294
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| 3.1 | CNA | DECLARED | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Grafana | Grafana Enterprise | affected 11.6.0 11.6.17 semver | Not specified |
| CNA | Grafana | Grafana Enterprise | affected 12.2.0 12.2.11 semver | Not specified |
| CNA | Grafana | Grafana Enterprise | affected 12.3.0 12.3.11 semver | Not specified |
| CNA | Grafana | Grafana Enterprise | affected 12.4.0 12.4.10 semver | Not specified |
| CNA | Grafana | Grafana Enterprise | affected 13.0.0 13.0.7 semver | Not specified |
| CNA | Grafana | Grafana Enterprise | affected 13.1.0 13.1.4 semver | Not specified |
| CNA | Grafana | Grafana Enterprise | affected 13.2.0 13.2.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| grafana.com/security/security-advisories/cve-2026-12704 | [email protected] | grafana.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.