# CVE-2022-2232: Keycloak: ldap injection on username input

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-02)
- Published: 2023-11-29T21:33:07.000Z
- Modified: 2026-06-17T04:41:32.013Z
- Also known as: GHSA-8hc5-rmgf-qx6p
- Weaknesses: CWE-20, CWE-90
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- rh-sso7-keycloak: no versions given
- keycloak-core: no versions given
- org.keycloak:keycloak-ldap-federation (Maven): before 23.0.1
- org.keycloak:keycloak-services (Maven): before 23.0.1

## Every score

- redhat: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: rating Low

## References

- <https://access.redhat.com/errata/RHSA-2024:0094> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0095> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0096> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2022-2232> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2096994> (issue-tracking)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-8hc5-rmgf-qx6p> (web)
- <https://github.com/keycloak/keycloak/commit/4252e394cf725b16f7e4e19aa32b03fd3fe13fde> (web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2022-2232](https://www.cve.org/CVERecord?id=CVE-2022-2232), CVE Terms of Use, modified 2024-11-14
- GitHub Advisory Database: [GHSA-8hc5-rmgf-qx6p](https://github.com/advisories/GHSA-8hc5-rmgf-qx6p), CC-BY-4.0, modified 2024-12-04
- NVD: [CVE-2022-2232](https://nvd.nist.gov/vuln/detail/CVE-2022-2232), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2232 · Whole record: https://cve.day/CVE-2022-2232.json · Rebuilt by cve.day 2026-11-25T22:58:20.050Z
