{"id":"CVE-2026-7307","published":"2026-05-19T10:52:24Z","modified":"2026-10-06T16:43:47Z","title":"Keycloak: keycloak: denial of service via specially crafted saml input","vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00878,"percentile":0.59926,"provenance":"source"},"cwes":[{"id":"CWE-1286","name":"Improper Validation of Syntactic Correctness of Input"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:19594","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19595","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19596","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19597","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:76128","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:76129","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:76130","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:76132","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:76134","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-7307","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2476526","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7307.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":11.99},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 26.2.16","< 26.4.12","< 26.6.2"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 9","versions":["all versions"]}],"workarounds":{"items":["To mitigate this vulnerability, restrict network access to the Keycloak SAML endpoint to trusted networks and clients. Implement firewall rules to limit inbound connections to the Keycloak service port (e.g., 8080) from untrusted sources. If the SAML protocol is not required for your deployment, consider disabling it to eliminate the attack surface. Applying these network restrictions or configuration changes may necessitate a restart or reload of the Keycloak service, which could temporarily affect its availability."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-19T12:49:06.304635Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-saml-core","vulnerableRanges":["<26.6.2"],"patched":["26.6.2"],"from":["GHSA-p5mv-gj8j-xqgf"],"provenance":"source"}],"summary":{"text":"A flaw in the Security Assertion Markup Language (SAML) endpoint of Red Hat build of Keycloak 26.2 mishandles specially crafted XML input. A remote, unauthenticated attacker who can reach that endpoint can send such input to drive up CPU usage and starve worker threads, making the server unavailable, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:47:59Z"},"euvd":{"id":"EUVD-2026-30883","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-3827","published":"2022-08-23","fixed":"18.0.0","kev":false},{"cve":"CVE-2024-8698","published":"2024-09-19","fixed":"25.0.6","kev":false},{"cve":"CVE-2026-2575","published":"2026-03-18","fixed":"26.5.4","kev":false,"link":{"from":"CVE-2026-2575","to":"CVE-2026-7307","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-saml-core","fromFixed":"26.5.4","toFixed":"26.6.2","daysApart":62}]}},{"cve":"CVE-2026-7307","published":"2026-05-19","fixed":"26.6.2","kev":false}],"package":"Maven:org.keycloak:keycloak-saml-core"}}