{"id":"CVE-2026-7307","aliases":["CVE-2026-7307","GHSA-p5mv-gj8j-xqgf","BIT-KEYCLOAK-2026-7307"],"related":[],"kind":"vulnerability","state":"published","title":"Keycloak: keycloak: denial of service via specially crafted saml input","summary":"A flaw was found in Keycloak. A remote, unauthenticated attacker can send a specially crafted XML input to the Security Assertion Markup Language (SAML) endpoint. This malicious input can cause high CPU usage and worker thread starvation, leading to a Denial of Service (DoS) where the server becomes unavailable.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in Keycloak. A remote, unauthenticated attacker can send a specially crafted XML input to the Security Assertion Markup Language (SAML) endpoint. This malicious input can cause high CPU usage and worker thread starvation, leading to a Denial of Service (DoS) where the server becomes unavailable.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en Keycloak. Un atacante remoto no autenticado puede enviar una entrada XML especialmente diseñada al endpoint de Security Assertion Markup Language (SAML). Esta entrada maliciosa puede causar un alto uso de CPU y agotamiento de hilos de trabajo, lo que lleva a una denegación de servicio (DoS) donde el servidor deja de estar disponible.","source":"nvd"}],"published":"2026-05-19T10:52:24.684Z","modified":"2026-10-26T13:10:00.140Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-1286"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"26.2.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"26.4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"26.6.2","status":"affected"}],"package":"keycloak","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2.16-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2-21","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2-21","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2.16","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4.12-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4-17","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4-17","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4.12","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6.13","package":"keycloak-services","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:18.0.20-1.redhat_00001.1.el7sso","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 7","package":"rh-sso7-keycloak","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6::el7","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:18.0.20-1.redhat_00001.1.el8sso","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 8","package":"rh-sso7-keycloak","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:18.0.20-1.redhat_00001.1.el9sso","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 9","package":"rh-sso7-keycloak","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"7.6-85","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"RHEL-8 based Middleware Containers","package":"rh-sso-7/sso76-openshift-rhel8","cpe":"cpe:/a:redhat:rhosemc:1.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2.16-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2-21","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2-21","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2.16","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4.12-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4-17","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4-17","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4.12","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.6.2"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-saml-core","purl":"pkg:maven/org.keycloak/keycloak-saml-core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"26.4","fixed":"26.4.12"}],"vendor":"redhat","product":"build_of_keycloak","cpe":"cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"26.4.0","status":"affected","fixed":"26.4.12"}],"ecosystem":"Bitnami","package":"keycloak","purl":"pkg:bitnami/keycloak","source":"bitnami"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:19594","tags":["advisory","vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19595","tags":["advisory","vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19596","tags":["advisory","vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19597","tags":["advisory","vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:76128","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:76129","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:76130","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:76132","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:76134","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-7307","tags":["advisory","vdb-entry","vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2476526","tags":["advisory","issue-tracking","vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7307.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7307","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/keycloak/keycloak/pull/49119","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/be84d28ce4c69c038d542f11405d5ede1d61f4a9","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/releases/tag/26.6.2","tags":["web"],"sources":["ghsa"]}],"credits":["Red Hat would like to thank Anchels for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-19T12:49:06.304Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-7307","url":"https://www.cve.org/CVERecord?id=CVE-2026-7307","licence":"CVE Terms of Use","modified":"2026-10-06T16:43:47.490Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p5mv-gj8j-xqgf","url":"https://github.com/advisories/GHSA-p5mv-gj8j-xqgf","licence":"CC-BY-4.0","modified":"2026-08-26T01:11:34.032Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-7307","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7307","licence":"Public domain","modified":"2026-10-26T13:10:00.140Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-KEYCLOAK-2026-7307","url":"https://osv.dev/vulnerability/BIT-KEYCLOAK-2026-7307","licence":"Apache-2.0","modified":"2026-10-07T14:30:05.143Z"}],"updatedAt":"2026-11-25T22:59:21.962Z","epss":{"score":0.00947,"percentile":0.62199,"date":"2026-12-02T12:00:21.000Z"}}