CVE-2024-1132: Keycloak: path transversal in redirection validation
Noroxi assessment
Priority: Monitor (action score 32/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.5% (FIRST EPSS); higher than 75.1% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: github.com/keycloak/keycloak keycloak 22.0.10, 24.0.3.
Low priority for now. Upgrade to github.com/keycloak/keycloak keycloak 22.0.10, 24.0.3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Apr 17, 2024
- Updated
- Aug 4, 2026
- EPSS
- 1.5% · 75th percentile
- CWE
- CWE-22
Report tools
Action score
32
Monitor
Low priority for now.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.5%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · redhat
- 8.1
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| redhat | build of keycloak | cpe:2.3:a:redhat:build_of_keycloak |
| redhat | jboss middleware text-only advisories | cpe:2.3:a:redhat:jboss_middleware_text-only_advisories |
| redhat | keycloak | cpe:2.3:a:redhat:keycloak |
| redhat | migration toolkit for applications | cpe:2.3:a:redhat:migration_toolkit_for_applications |
| redhat | migration toolkit for runtimes | cpe:2.3:a:redhat:migration_toolkit_for_runtimes |
| redhat | openshift container platform | cpe:2.3:a:redhat:openshift_container_platform |
| redhat | openshift container platform for ibm z | cpe:2.3:a:redhat:openshift_container_platform_for_ibm_z |
| redhat | openshift container platform for linuxone | cpe:2.3:a:redhat:openshift_container_platform_for_linuxone |
| redhat | openshift container platform for power | cpe:2.3:a:redhat:openshift_container_platform_for_power |
| redhat | single sign-on | cpe:2.3:a:redhat:single_sign-on |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redhat build of keycloakall versions
- redhat jboss middleware text-only advisories1.0
- redhat keycloak21.1.0 and later · before 22.0.10
- redhat keycloak23.0.0 and later · before 24.0.3
- redhat migration toolkit for applications1.0
- redhat migration toolkit for runtimesall versions
- redhat openshift container platform4.11
- redhat openshift container platform4.12
- redhat openshift container platform for ibm z4.10
- redhat openshift container platform for ibm z4.9
- redhat openshift container platform for linuxone4.10
- redhat openshift container platform for linuxone4.9
- redhat openshift container platform for power4.10
- redhat openshift container platform for power4.9
- redhat single sign-onall versions
- redhat single sign-on7.6
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
github.com/keycloak/keycloak keycloak
- 21.1.0 and later · before 22.0.10affected · semver
- 23.0.0 and later · before 24.0.3affected · semver
Red Hat Migration Toolkit for Runtimes 1 on RHEL 8
- 1.2-23 and laternot affected · rpm
- 1.2-15 and laternot affected · rpm
- 1.2-16 and laternot affected · rpm
- 1.2-14 and laternot affected · rpm
Red Hat MTA-6.2-RHEL-9
- 6.2.3-2 and laternot affected · rpm
Red Hat Red Hat AMQ Broker 7
- all versionsunknown
- all versionsunknown
- all versionsunknown
Red Hat Red Hat build of Apicurio Registry 2
- all versionsaffected
Red Hat Red Hat build of Keycloak 22
- 22.0.10-1 and laternot affected · rpm
- 22-13 and laternot affected · rpm
- 22-16 and laternot affected · rpm
Red Hat Red Hat build of Keycloak 22.0.10
- all versionsunknown
Red Hat Red Hat build of Quarkus
- all versionsaffected
- all versionsaffected
Red Hat Red Hat Data Grid 8
- all versionsunknown
Red Hat Red Hat Decision Manager 7
- all versionsunknown
Red Hat Red Hat Fuse 7
- all versionsaffected
Red Hat Red Hat JBoss Data Grid 7
- all versionsunknown
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | from 23.0.0 · before 24.0.3 | 24.0.3 |
| Maven | org.keycloak:keycloak-services | before 22.0.10 | 22.0.10 |
| Red Hat:red_hat_single_sign_on:7.6::el7 | rh-sso7-keycloak | before 0:18.0.13-1.redhat_00001.1.el7sso | 0:18.0.13-1.redhat_00001.1.el7sso |
| Red Hat:red_hat_single_sign_on:7.6::el7 | rh-sso7-keycloak-server | before 0:18.0.13-1.redhat_00001.1.el7sso | 0:18.0.13-1.redhat_00001.1.el7sso |
| Red Hat:red_hat_single_sign_on:7.6::el8 | rh-sso7-keycloak | before 0:18.0.13-1.redhat_00001.1.el8sso | 0:18.0.13-1.redhat_00001.1.el8sso |
| Red Hat:red_hat_single_sign_on:7.6::el8 | rh-sso7-keycloak-server | before 0:18.0.13-1.redhat_00001.1.el8sso | 0:18.0.13-1.redhat_00001.1.el8sso |
| Red Hat:red_hat_single_sign_on:7.6::el9 | rh-sso7-keycloak | before 0:18.0.13-1.redhat_00001.1.el9sso | 0:18.0.13-1.redhat_00001.1.el9sso |
| Red Hat:red_hat_single_sign_on:7.6::el9 | rh-sso7-keycloak-server | before 0:18.0.13-1.redhat_00001.1.el9sso | 0:18.0.13-1.redhat_00001.1.el9sso |
Same product
redhat: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-16442Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction39Monitor
- CVE-2026-16443Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation36Monitor
- CVE-2026-15572Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation35Monitor
Published before and after this one in the same product
- Later →CVE-2023-6787Apr 25, 2024 · Keycloak: session hijacking via re-authentication35Monitor
- Later →CVE-2024-7260Sep 9, 2024 · Keycloak-core: open redirect on account page24Monitor
- Later →CVE-2024-7318Sep 9, 2024 · Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverity19Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| github.com/keycloak/keycloak keycloak | 22.0.10 | Vendor (CNA) |
| github.com/keycloak/keycloak keycloak | 24.0.3 | Vendor (CNA) |
| Maven:org.keycloak:keycloak-services | 22.0.10 | Package registry (OSV) |
| Maven:org.keycloak:keycloak-services | 24.0.3 | Package registry (OSV) |
| red hat:rh-sso7-keycloak | 0:18.0.13-1.redhat_00001.1.el7sso · Red Hat:red_hat_single_sign_on:7.6::el7 | Package registry (OSV) |
| red hat:rh-sso7-keycloak-server | 0:18.0.13-1.redhat_00001.1.el7sso · Red Hat:red_hat_single_sign_on:7.6::el7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
nvd-secondary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);
res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);
if (!file.startsWith(ROOT + path.sep)) {
return res.sendStatus(400);
}
res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (13 more)Show less
- access.redhat.com/errata/RHSA-2024:1861
- access.redhat.com/errata/RHSA-2024:1862
- access.redhat.com/errata/RHSA-2024:1864
- access.redhat.com/errata/RHSA-2024:1866
- access.redhat.com/errata/RHSA-2024:1867
- access.redhat.com/errata/RHSA-2024:1868
- access.redhat.com/errata/RHSA-2024:2945
- access.redhat.com/errata/RHSA-2024:3752
- access.redhat.com/errata/RHSA-2024:3762
- access.redhat.com/errata/RHSA-2024:3919
- access.redhat.com/errata/RHSA-2024:3989
- access.redhat.com/security/cve/CVE-2024-1132
- bugzilla.redhat.com/show_bug.cgi?id=2262117
Vendor advisories and official records. Exploit/PoC links are deliberately left out.