Keycloak: keycloak: denial of service via malformed ldap password policy response
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
A flaw was found in Keycloak. A remote attacker with high privileges, such as a realm administrator configuring a malicious Lightweight Directory Access Protocol (LDAP) server or an attacker compromising an upstream LDAP server, could exploit this vulnerability. By sending a malformed LDAP password policy response during a password authentication request, the attacker can trigger an OutOfMemoryError. This causes the Keycloak Java Virtual Machine (JVM) to terminate, leading to a denial of service (DoS) for all realms on the affected node.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4.13-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-19 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-19 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4.13 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6.3-3 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-6 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-6 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6.3 | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-ldap-federation (Maven) | before 26.6.3 | 26.6.3 | Patch available | GHSA-f6r7-6w34-x2gp |
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4.13-1 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-19 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-19 Patch available CNA
- Red Hat build of Keycloak 26.4.13 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6.3-3 Patch available CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-6 Patch available CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-6 Patch available CNA
- Red Hat build of Keycloak 26.6.3 VendorRed Hat Affected — Fixed in — Not affected CNA
- org.keycloak:keycloak-ldap-federation (Maven) Vendor— Affected before 26.6.3 Fixed in 26.6.3 Patch available GHSA-f6r7-6w34-x2gp
Remediation
- Fix · GHSA-f6r7-6w34-x2gp org.keycloak:keycloak-ldap-federation (Maven) Fixed in 26.6.3 Advisory →
Red Hat 4 advisories
- RHSA-2026:30050 Released 2026-06-25 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.13 Images Security Update
- Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:30049 Released 2026-06-25 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.13 Security Update
- Red Hat build of Keycloak 26.4.13
- RHSA-2026:25098 Released 2026-06-10 · Red Hat rating ModerateRed Hat build of Keycloak 26.6.3 Update
- Red Hat build of Keycloak 26.6.3
Show 1 more Red Hat advisories
- RHSA-2026:25097 Released 2026-06-10 · Red Hat rating ModerateRed Hat build of Keycloak 26.6.3 Images Update
- Red Hat build of Keycloak 26.6 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Keycloak 26.4 | Fixed | RHSA-2026:30050 |
| Red Hat build of Keycloak 26.4.13 | Fixed | RHSA-2026:30049 |
| Red Hat build of Keycloak 26.6 | Fixed | RHSA-2026:25097 |
| Red Hat build of Keycloak 26.6.3 | Fixed | RHSA-2026:25098 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9801
- 2026-10-03 Alias added: GHSA-f6r7-6w34-x2gp
- 2026-10-25 EPSS moved to the below the 50th percentile
References
Advisory 7
More Red Hat Build Of Keycloak vulnerabilities
- TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
- TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
- TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
- TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
Sources
- CVE-2026-9801 · CVE Program
- CVE-2026-9801 · NVD
- FIRST EPSS
- GHSA-f6r7-6w34-x2gp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-9801 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences