# CVE-2024-5967: Keycloak: leak of configured ldap bind credentials through the keycloak admin console

- Priority: **Routine**
- Reason: Not severe (CVSS 2.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-18 · Modified: 2026-03-26
- Aliases: CGA-ggj4-23h2-2fvr, CGA-xw33-8wxw-924p, GHSA-c25h-c27q-5qpv
- Record: https://cvemate.com/vulnerability/CVE-2024-5967 · JSON: https://cvemate.com/vulnerability/CVE-2024-5967/json

## Description

```text
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.
```

## Signals

- CVSS: 2.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.649%, percentile 52.542%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard keycloak (Chainguard): \< 25.0.1-r0
- wolfi keycloak (Wolfi): \< 25.0.1-r0
- org.keycloak keycloak-ldap-federation (Maven): ≥ 25.0.0, \< 25.0.1 \| \< 22.0.12 \| ≥ 23.0.0, \< 24.0.6

## References

- <https://access.redhat.com/errata/RHSA-2024:6493>
- <https://access.redhat.com/errata/RHSA-2024:6494>
- <https://access.redhat.com/errata/RHSA-2024:6495>
- <https://access.redhat.com/errata/RHSA-2024:6497>
- <https://access.redhat.com/errata/RHSA-2024:6499>
- <https://access.redhat.com/errata/RHSA-2024:6500>
- <https://access.redhat.com/errata/RHSA-2024:6501>
- <https://access.redhat.com/security/cve/CVE-2024-5967>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2292200>
- <https://access.redhat.com/downloads/content/package-browser/>
- <https://catalog.redhat.com/software/containers/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5967.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-5967>
- <https://github.com/keycloak/keycloak>
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-c25h-c27q-5qpv>
- <https://github.com/keycloak/keycloak/issues/30434>
- <https://github.com/keycloak/keycloak/commit/0d0530046b9cb4b0d74d2fdefc9bd04f1d20cac0>
- <https://github.com/keycloak/keycloak/commit/1f56a9e48bf96c3bcb18dfc6cd93e3dd16f281f1>
- <https://github.com/keycloak/keycloak/commit/bde8568d4174a7072f7c7bb507d2c7d05824b1a6>

---

Data as of 2026-12-05T08:44:21.618Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
