CVE-2026-7307
Keycloak: Denial of Service via specially crafted SAML input
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.keycloak » keycloak-saml-core | < 26.6.2 | 26.6.2 |
Blast radius
61% of the dependent artifacts (88) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,693 |
| 2 hops | 2,531 |
| 3 hops | 1,726 |
| 4 hops | 1,226 |
| 5 hops | 62 |
| 6 hops | 17 |
Most used dependents
- org.keycloak.testframework » keycloak-test-framework-core29 usages
- org.keycloak » keycloak-dependencies-server-all22 usages
- org.keycloak.testframework » keycloak-test-framework-test-containers12 usages
- org.keycloak » keycloak-quarkus-server11 usages
- org.keycloak.testframework » keycloak-test-framework-remote11 usages
- org.hawkular.accounts » hawkular-accounts-feature-pack11 usages
- org.keycloak.testframework » keycloak-test-framework-junit5-config10 usages
- org.keycloak » keycloak-wildfly-adapter-dist10 usages
- org.keycloak » keycloak-server-feature-pack8 usages
- org.keycloak » keycloak-server-overlay8 usages
- org.keycloak » keycloak-testsuite-integration8 usages
- org.keycloak » keycloak-saml-servlet-filter-adapter7 usages
- org.keycloak.testframework » keycloak-test-framework-ui7 usages
- org.keycloak.testframework » keycloak-test-framework-oauth7 usages
- org.keycloak » keycloak-saml-tomcat-adapter-core6 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-7307 | nvd.nist.gov |
| Package | keycloak/keycloak | github.com |
| Web | keycloak/keycloak pull request #49119 | github.com |
| Web | keycloak/keycloak commit be84d28 | github.com |
| Web | errata/RHSA-2026:19594 | access.redhat.com |
| Web | errata/RHSA-2026:19595 | access.redhat.com |
| Web | errata/RHSA-2026:19596 | access.redhat.com |
| Web | errata/RHSA-2026:19597 | access.redhat.com |
| Web | security/cve/CVE-2026-7307 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | keycloak/keycloak release 26.6.2 | github.com |
