# CVE-2026-12704: SAML assertion replay via skipped InResponseTo validation

> CVE-2026-12704: SAML assertion replay via skipped InResponseTo validation. CVSS 6.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-12704
Last updated: 2026-09-03T16:37:52Z

- Published: 2026-09-02 16:05 UTC · Updated: 2026-09-03 16:37 UTC · Assigner: GRAFANA
- CVSS: 6.8 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.29%, 21th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-294

## 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.

## Affected vendors and products

- Grafana: Grafana Enterprise

## Tracked companies

- [Grafana Cloud](https://rewindex.com/company/grafana-cloud.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-12704)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-12704)
- [https://grafana.com/security/security-advisories/cve-2026-12704](https://grafana.com/security/security-advisories/cve-2026-12704)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-12704 · Markdown: https://rewindex.com/cve/CVE-2026-12704.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-12704 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:08:58.559Z
