{"api_version":"1","generated_at":"2026-09-11T15:28:28+00:00","cve":"CVE-2026-12704","urls":{"html":"https://cve.report/CVE-2026-12704","api":"https://cve.report/api/cve/CVE-2026-12704.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-12704","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-12704"},"summary":{"title":"SAML assertion replay via skipped InResponseTo validation","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.","state":"PUBLISHED","assigner":"GRAFANA","published_at":"2026-09-02 16:17:14","updated_at":"2026-09-03 16:37:52"},"problem_types":["CWE-294","CWE-294 CWE-294"],"metrics":[{"version":"3.1","source":"security@grafana.com","type":"Secondary","score":"6.8","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","baseScore":6.8,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"6.8","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","data":{"baseScore":6.8,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"}}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2026-12704","name":"https://grafana.com/security/security-advisories/cve-2026-12704","refsource":"security@grafana.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-12704","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12704","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Grafana","product":"Grafana Enterprise","version":"affected 11.6.0 11.6.17 semver","platforms":[]},{"source":"CNA","vendor":"Grafana","product":"Grafana Enterprise","version":"affected 12.2.0 12.2.11 semver","platforms":[]},{"source":"CNA","vendor":"Grafana","product":"Grafana Enterprise","version":"affected 12.3.0 12.3.11 semver","platforms":[]},{"source":"CNA","vendor":"Grafana","product":"Grafana Enterprise","version":"affected 12.4.0 12.4.10 semver","platforms":[]},{"source":"CNA","vendor":"Grafana","product":"Grafana Enterprise","version":"affected 13.0.0 13.0.7 semver","platforms":[]},{"source":"CNA","vendor":"Grafana","product":"Grafana Enterprise","version":"affected 13.1.0 13.1.4 semver","platforms":[]},{"source":"CNA","vendor":"Grafana","product":"Grafana Enterprise","version":"affected 13.2.0 13.2.0 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"12704","cve":"CVE-2026-12704","epss":"0.002730000","percentile":"0.194210000","score_date":"2026-09-07","updated_at":"2026-09-08 00:05:28"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-12704","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-09-02T18:06:37.374630Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-09-02T18:13:12.022Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Grafana Enterprise","vendor":"Grafana","versions":[{"lessThanOrEqual":"11.6.17","status":"affected","version":"11.6.0","versionType":"semver"},{"lessThanOrEqual":"12.2.11","status":"affected","version":"12.2.0","versionType":"semver"},{"lessThanOrEqual":"12.3.11","status":"affected","version":"12.3.0","versionType":"semver"},{"lessThanOrEqual":"12.4.10","status":"affected","version":"12.4.0","versionType":"semver"},{"lessThanOrEqual":"13.0.7","status":"affected","version":"13.0.0","versionType":"semver"},{"lessThanOrEqual":"13.1.4","status":"affected","version":"13.1.0","versionType":"semver"},{"lessThanOrEqual":"13.2.0","status":"affected","version":"13.2.0","versionType":"semver"}]}],"datePublic":"2026-09-02T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"baseScore":6.8,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-294","description":"CWE-294","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-03T08:07:34.086Z","orgId":"57da9224-a3e2-4646-9d0e-c4dc2e05e7da","shortName":"GRAFANA"},"references":[{"tags":["vendor-advisory"],"url":"https://grafana.com/security/security-advisories/cve-2026-12704"}],"source":{"discovery":"INTERNAL_FINDING"},"title":"SAML assertion replay via skipped InResponseTo validation","x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"57da9224-a3e2-4646-9d0e-c4dc2e05e7da","assignerShortName":"GRAFANA","cveId":"CVE-2026-12704","datePublished":"2026-09-02T16:05:42.965Z","dateReserved":"2026-06-19T10:24:45.152Z","dateUpdated":"2026-09-03T08:07:34.086Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-02 16:17:14","lastModifiedDate":"2026-09-03 16:37:52","problem_types":["CWE-294","CWE-294 CWE-294"],"metrics":{"cvssMetricV31":[{"source":"security@grafana.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","baseScore":6.8,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":1.6,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-02T18:06:37.374630Z","id":"CVE-2026-12704","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"12704","Ordinal":"1","Title":"SAML assertion replay via skipped InResponseTo validation","CVE":"CVE-2026-12704","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"12704","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"SAML assertion replay via skipped InResponseTo validation"}]}}}