Advisory record · GHSA-8hc5-rmgf-qx6p

Keycloak vulnerable to LDAP Injection on UsernameForm Login

CVSS 7.5 HighEPSS 0.0065 · 51st percentile

Published by the GitHub Advisory Database at 29 Nov 2023, 21:33 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.keycloak:keycloak-ldap-federationMaven<23.0.123.0.1
org.keycloak:keycloak-servicesMaven<23.0.123.0.1
Identifiers
GHSA-8hc5-rmgf-qx6p · CVE-2022-2232
Weakness (CWE)
CWE-20 · CWE-90
Published
29 Nov 2023
Updated
4 Dec 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Keycloak's keycloak-ldap-federation and keycloak-services packages are vulnerable to LDAP injection through the username form at login in versions before 23.0.1. An unauthenticated attacker can exploit this to run crafted LDAP queries and learn which usernames exist on the server. Upgrade keycloak-ldap-federation and keycloak-services to version 23.0.1 or later.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CNA (redhat)
  • CISA KEV Not listed.
  • EPSS 0.0065, the 51st percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:12 UTC First seen by agentprime
  2. 31 Oct 2026, 15:12 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.