Keycloak: ldap injection on username input
Priority MEDIUM 40CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
A flaw was found in the Keycloak package. This flaw allows an attacker to utilize an LDAP injection to bypass the username lookup or potentially perform other malicious actions.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00651 51st percentileScored 2026-11-07
Fix Partial org.keycloak:keycloak-ldap-federation (Maven): 23.0.1org.keycloak:keycloak-services (Maven): 23.0.1Red Hat: 3 advisoriesRed Hat: 1 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- 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 Single Sign-On 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | No fix listed | CNA |
| — | org.keycloak:keycloak-ldap-federation (Maven) | before 23.0.1 | 23.0.1 | Patch available | GHSA-8hc5-rmgf-qx6p |
| — | org.keycloak:keycloak-services (Maven) | before 23.0.1 | 23.0.1 | Patch available | GHSA-8hc5-rmgf-qx6p |
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- org.keycloak:keycloak-ldap-federation (Maven) Vendor— Affected before 23.0.1 Fixed in 23.0.1 Patch available GHSA-8hc5-rmgf-qx6p
- org.keycloak:keycloak-services (Maven) Vendor— Affected before 23.0.1 Fixed in 23.0.1 Patch available GHSA-8hc5-rmgf-qx6p
Remediation
- Fix · GHSA-8hc5-rmgf-qx6p org.keycloak:keycloak-ldap-federation (Maven) Fixed in 23.0.1 Advisory →
- Fix · GHSA-8hc5-rmgf-qx6p org.keycloak:keycloak-services (Maven) Fixed in 23.0.1 Advisory →
Red Hat 3 advisories
- RHSA-2024:0096 Released 2024-01-09 · Red Hat rating ModerateRed Hat Single Sign-On 7.6.6 security update on RHEL 9
- Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak-18.0.11-3.redhat_00001.1.el9sso, rh-sso7-keycloak-server-18.0.11-3.redhat_00001.1.el9sso
- RHSA-2024:0094 Released 2024-01-09 · Red Hat rating ModerateRed Hat Single Sign-On 7.6.6 security update on RHEL 7
- Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.11-3.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.11-3.redhat_00001.1.el7sso
- RHSA-2024:0095 Released 2024-01-09 · Red Hat rating ModerateRed Hat Single Sign-On 7.6.6 security update on RHEL 8
- Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.11-3.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.11-3.redhat_00001.1.el8sso
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Single Sign-On 7 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-2232
- 2026-10-03 Alias added: GHSA-8hc5-rmgf-qx6p
- 2026-10-14 EPSS moved to the 50th–90th percentile
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2022-2232 · CVE Program
- CVE-2022-2232 · NVD
- FIRST EPSS
- GHSA-8hc5-rmgf-qx6p · GitHub Advisory Database · CC BY 4.0
- CVE-2022-2232 · 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