CVE-2024-5967: Keycloak: leak of configured ldap bind credentials through the keycloak admin console
Vulnerability summary
CVE-2024-5967 is a low (CVSS 2.7) Incorrect Default Permissions vulnerability in keycloak. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 52.5% of scored vulnerabilities.
Not severe (CVSS 2.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 4Timeline
- 18-06-2024PublishedVulnerability first disclosed.
- 26-03-2026Last modifiedVulnerability information updated.
Description
A vulnerability was found in Keycloak. The LDAP testing endpoint allows changing the Connection URL independently without re-entering the currently configured LDAP bind credentials. This flaw allows an attacker with admin access (permission manage-realm) to change the LDAP host URL ("Connection URL") to a machine they control. The Keycloak server will connect to the attacker's host and try to authenticate with the configured credentials, thus leaking them to the attacker. As a consequence, an attacker who has compromised the admin console or compromised a user with sufficient privileges can leak domain credentials and attack the domain.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated2.7LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated2.7LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- OSV · MavenEcosystem advisory · calculated2.7LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- NVDNIST2.7LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.65%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.65% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- keycloak< 25.0.1-r0
Org.keycloak1 product
- keycloak-ldap-federation≥ 25.0.0, < 25.0.1 | < 22.0.12 | ≥ 23.0.0, < 24.0.6
Wolfi1 product
- keycloak< 25.0.1-r0
3 vendors · 3 products
References
19 linksShow all 19 references
- github.com/keycloak/keycloakPACKAGE