high7.5
CVE-2026-7307
Keycloak: Denial of Service via specially crafted SAML input
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-saml-core | < 26.6.2 | 26.6.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Build Of Keycloak | from 26.4 before 26.4.12 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-p5mv-gj8j-xqgf
- https://nvd.nist.gov/vuln/detail/CVE-2026-7307
- https://access.redhat.com/security/cve/CVE-2026-7307
- https://bugzilla.redhat.com/show_bug.cgi?id=2476526
- https://access.redhat.com/errata/RHSA-2026:19594
- https://access.redhat.com/errata/RHSA-2026:19597
- https://access.redhat.com/errata/RHSA-2026:19595
- https://access.redhat.com/errata/RHSA-2026:19596
- https://github.com/keycloak/keycloak/pull/49119
- https://github.com/keycloak/keycloak/commit/be84d28ce4c69c038d542f11405d5ede1d61f4a9
- https://github.com/keycloak/keycloak/releases/tag/26.6.2
- https://access.redhat.com/errata/RHSA-2026:76128
- https://access.redhat.com/errata/RHSA-2026:76129
- https://access.redhat.com/errata/RHSA-2026:76130
- https://access.redhat.com/errata/RHSA-2026:76132
- https://access.redhat.com/errata/RHSA-2026:76134
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7307.json