CVE-2024-1132 Keycloak
| Affected software | Keycloak |
|---|---|
| Severity | 8.1 High CVSS 3.1 |
| Fixed in | 22.0.10, 24.0.3 |
| Weakness | Path traversal (CWE-22) |
| Published | 17 Apr 2024 |
| Updated | 4 Nov 2026 |
Description
A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. This issue could allow an attacker to construct a malicious request to bypass validation and access other URLs and sensitive information within the domain or conduct further attacks. This flaw affects any client that utilizes a wildcard in the Valid Redirect URIs field, and requires user interaction within the malicious URL.
Exploitation status
Proof of concept only
A proof of concept exists, but no reviewed exploit catalogue lists this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
- Indexed PoC none indexed
- EPSS 1.6% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Path traversal
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal. |
| Candidate fix | https://bugzilla.redhat.com/show_bug.cgi?id=2262117 : a Red Hat bug: the triage, which links onward to the fix |
How to mitigate CVE-2024-1132
Upgrade Keycloak to a release that fixes it: 22.0.10 or 24.0.3. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.keycloak:keycloak-services |
0 | 22.0.10 |
unbounded |
org.keycloak:keycloak-services |
23.0.0 | 24.0.3 |
unbounded |
Products and versions
11 products, 18 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.keycloak | keycloak-services | generic | < 22.0.10 · ≥ 23.0.0 and < 24.0.3 |
| nvd | redhat | build of keycloak | generic | any version |
| nvd | redhat | jboss middleware text-only advisories | generic | 1.0 |
| nvd | redhat | keycloak | generic | ≥ 21.1.0 and < 22.0.10 · ≥ 23.0.0 and < 24.0.3 |
| nvd | redhat | migration toolkit for applications | generic | 1.0 |
| nvd | redhat | migration toolkit for runtimes | generic | any version |
| nvd | redhat | openshift container platform | generic | 4.11 · 4.12 |
| nvd | redhat | openshift container platform for ibm z | generic | 4.9 · 4.10 |
| nvd | redhat | openshift container platform for linuxone | generic | 4.9 · 4.10 |
| nvd | redhat | openshift container platform for power | generic | 4.9 · 4.10 |
| nvd | redhat | single sign-on | generic | any version · 7.6 |
References
Timeline
Timeline
| Published | 2024-04-17 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-11-04 | NVD's own last-modified date for this record. |