{"id":"CVE-2026-12704","aliases":["CVE-2026-12704","BIT-GRAFANA-2026-12704"],"related":[],"kind":"vulnerability","state":"published","title":"SAML assertion replay via skipped InResponseTo validation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-02T16:05:42.965Z","modified":"2026-09-09T09:30:05.670Z","severity":{"scorer":"GRAFANA","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GRAFANA","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-294"],"affected":[{"ranges":[{"type":"semver","introduced":"11.6.0","lastAffected":"11.6.17","status":"affected"},{"type":"semver","introduced":"12.2.0","lastAffected":"12.2.11","status":"affected"},{"type":"semver","introduced":"12.3.0","lastAffected":"12.3.11","status":"affected"},{"type":"semver","introduced":"12.4.0","lastAffected":"12.4.10","status":"affected"},{"type":"semver","introduced":"13.0.0","lastAffected":"13.0.7","status":"affected"},{"type":"semver","introduced":"13.1.0","lastAffected":"13.1.4","status":"affected"},{"type":"semver","introduced":"13.2.0","lastAffected":"13.2.0","status":"affected"}],"vendor":"Grafana","product":"Grafana Enterprise","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"11.6.0","status":"affected","fixed":"12.4.11"},{"type":"semver","introduced":"13.0.0","status":"affected","fixed":"13.0.8"},{"type":"semver","introduced":"13.1.0","status":"affected","fixed":"13.1.5"},{"type":"semver","introduced":"13.2.0","status":"affected","fixed":"13.2.1"}],"ecosystem":"Bitnami","package":"grafana","purl":"pkg:bitnami/grafana","source":"bitnami"}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2026-12704","tags":["vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12704","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GRAFANA","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-02T18:06:37.374Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12704","url":"https://www.cve.org/CVERecord?id=CVE-2026-12704","licence":"CVE Terms of Use","modified":"2026-09-03T08:07:34.086Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12704","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12704","licence":"Public domain","modified":"2026-09-03T16:37:52.170Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GRAFANA-2026-12704","url":"https://osv.dev/vulnerability/BIT-GRAFANA-2026-12704","licence":"Apache-2.0","modified":"2026-09-09T09:30:05.670Z"}],"updatedAt":"2026-11-25T22:59:36.101Z","epss":{"score":0.00284,"percentile":0.22479,"date":"2026-12-01T12:00:22.000Z"}}