{"answers":{"affected":"1 open source package ship an affected version, including grafana.","exploited":"There is no known exploitation of CVE-2026-12704 in the wild and no public exploit code.","fix":"Upgrade grafana to a fixed version for your release line: 12.4.11, 13.0.8, 13.1.5 or 13.2.1.","what":"CVE-2026-12704 is a medium-severity authentication bypass vulnerability in Grafana Enterprise, published on 2 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-12704 and fix it if it is affected.\n\nWhat it is: CVE-2026-12704 is a medium-severity authentication bypass vulnerability in Grafana Enterprise, published on 2 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-12704 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- grafana (Bitnami): affected from 11.6.0; fixed in 12.4.11, 13.0.8, 13.1.5, 13.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-12704/ (Markdown: https://insights.sbomify.com/CVE-2026-12704/index.md)","id":"CVE-2026-12704","markdown":"https://insights.sbomify.com/CVE-2026-12704/index.md","name":"CVE-2026-12704","record":{"aliases":["BIT-grafana-2026-12704","GHSA-xgrw-968j-pp62","MINI-437c-845x-v4qr","MINI-4qgv-j3hj-w3qg","MINI-4wgr-8rxq-5r74","MINI-4whm-7v7h-x5mf","MINI-54g8-rcqp-mjwg","MINI-64jw-2w7f-hqpq","MINI-6vp7-8vx4-ggfp","MINI-7vvc-f9g5-7jpj","MINI-g4gf-pgjw-w932","MINI-gph7-w6hx-qf79","MINI-hphj-8j7c-x93w","MINI-hw8h-p3pr-8fpw","MINI-jmmp-49xg-4wpp","MINI-m5gm-jpjm-fjc9","MINI-p5f9-qwjm-xh84","MINI-q69f-hq7v-gvc2","MINI-r784-5qwh-pg63","MINI-r8h6-r2pv-p9g6","MINI-r8v9-957r-6cqh","MINI-vh7m-rjgg-rm7q","MINI-x33f-jwpp-9m7r","MINI-xjq7-r48j-5xh8"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Grafana Enterprise","requires_auth":"none","summary":"Attackers can replay SAML assertions to hijack user sessions in Grafana Enterprise when IdP-initiated login is enabled.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-294","name":"Authentication Bypass by Capture-replay"}],"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.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"SAML assertion replay via skipped InResponseTo validation","id":"CVE-2026-12704","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":1,"n_references":1,"next":{"headline":"Integrity mechanism of KNX-device FW-files can be bypassed in ABB Update Tool","id":"CVE-2026-12705"},"packages":[{"ecosystem":"Bitnami","fixed":["12.4.11","13.0.8","13.1.5","13.2.1"],"introduced":["11.6.0","13.0.0","13.1.0","13.2.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2026-12704"}],"prev":{"headline":"Bypass of 2FA for Connections via Unattended Access in TeamViewer for macOS","id":"CVE-2026-12703"},"products":["Grafana Enterprise"],"published":"2026-09-02","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-03","vendors":["Grafana"]},"summary":"Attackers can replay SAML assertions to hijack user sessions in Grafana Enterprise when IdP-initiated login is enabled.","url":"https://insights.sbomify.com/CVE-2026-12704/"}