{"answers":{"affected":"4 open source packages ship an affected version, including org.keycloak:keycloak-services. It affects 10 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1132 exists.","fix":"Upgrade org.keycloak:keycloak-services to a fixed version for your release line: 22.0.10 or 24.0.3.","what":"CVE-2024-1132 is a high-severity path traversal vulnerability in Redhat Build of Keycloak, published on 17 Apr 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-1132 and fix it if it is affected.\n\nWhat it is: CVE-2024-1132 is a high-severity path traversal vulnerability in Redhat Build of Keycloak, published on 17 Apr 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1132 exists.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 22.0.10\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 22.0.10\n- org.keycloak:keycloak-services (Maven): affected from 23.0.0; fixed in 24.0.3\n- org.keycloak:keycloak-services (Maven): affected from 23.0.0; fixed in 24.0.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-1132/ (Markdown: https://insights.sbomify.com/CVE-2024-1132/index.md)","id":"CVE-2024-1132","markdown":"https://insights.sbomify.com/CVE-2024-1132/index.md","name":"CVE-2024-1132","record":{"aliases":["GHSA-72vp-xfrc-42xm"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Keycloak identity provider","requires_auth":"none","summary":"Attackers can bypass redirect validation to access sensitive internal URLs when wildcard redirect URIs are configured.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"build_of_keycloak","vendor":"redhat"},{"product":"jboss_middleware_text-only_advisories","vendor":"redhat"},{"product":"keycloak","vendor":"redhat"},{"product":"migration_toolkit_for_applications","vendor":"redhat"},{"product":"migration_toolkit_for_runtimes","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"},{"product":"openshift_container_platform_for_ibm_z","vendor":"redhat"},{"product":"openshift_container_platform_for_linuxone","vendor":"redhat"},{"product":"openshift_container_platform_for_power","vendor":"redhat"},{"product":"single_sign-on","vendor":"redhat"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Keycloak: path transversal in redirection validation","id":"CVE-2024-1132","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:build_of_keycloak","products":["redhat:build_of_keycloak","redhat:keycloak","redhat:openshift_container_platform","redhat:single_sign-on"],"type":"path_traversal","year":"2024"},"n_packages":4,"n_references":14,"next":{"headline":"Tutor LMS \u003c= 2.6.0 - Missing Authorization","id":"CVE-2024-1133"},"packages":[{"ecosystem":"Maven","fixed":["22.0.10"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-72vp-xfrc-42xm"},{"ecosystem":"Maven","fixed":["22.0.10"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-72vp-xfrc-42xm"},{"ecosystem":"Maven","fixed":["24.0.3"],"introduced":["23.0.0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-72vp-xfrc-42xm"},{"ecosystem":"Maven","fixed":["24.0.3"],"introduced":["23.0.0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-72vp-xfrc-42xm"}],"prev":{"headline":"NEX-Forms – Ultimate Form Builder – Contact forms and much more \u003c= 8.5.6 - Missing Authorization via set_read()","id":"CVE-2024-1130"},"products":["MTA-6.2-RHEL-9","Migration Toolkit for Runtimes 1 on RHEL 8","RHEL-8 based Middleware Containers","RHSSO 7.6.8","Red Hat AMQ Broker 7","Red Hat Data Grid 8","Red Hat Decision Manager 7","Red Hat Fuse 7","Red Hat JBoss Data Grid 7","Red Hat JBoss Enterprise Application Platform 6","Red Hat JBoss Enterprise Application Platform 7","Red Hat Process Automation 7","Red Hat Single Sign-On 7.6 for RHEL 7","Red Hat Single Sign-On 7.6 for RHEL 8","Red Hat Single Sign-On 7.6 for RHEL 9","Red Hat build of Apicurio Registry 2","Red Hat build of Keycloak 22","Red Hat build of Keycloak 22.0.10","Red Hat build of Quarkus"],"published":"2024-04-17","related":[{"cvss_score":8.8,"headline":"Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation","id":"CVE-2026-15572","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.8,"headline":"Keycloak SAML Broken has Authentication Bypass by Primary Weakness","id":"CVE-2026-3047","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":8.1,"headline":"Keycloak-services: keycloak-services: authorization bypass via unnormalized uri matching in pathmatcher","id":"CVE-2026-15573","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.1,"headline":"Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers","id":"CVE-2026-16102","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.1,"headline":"Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users","id":"CVE-2026-1609","kev_date_added":null,"published":"2026-07-16"},{"cvss_score":8.1,"headline":"Org.keycloak:keycloak-services: keycloak: authentication bypass via jwt algorithm confusion","id":"CVE-2026-11800","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":8.1,"headline":"Keycloak-policy-enforcer: keycloak policy enforcer: authorization bypass via incorrect uri comparison","id":"CVE-2026-9800","kev_date_added":null,"published":"2026-06-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-04","vendors":["Red Hat"]},"summary":"Attackers can bypass redirect validation to access sensitive internal URLs when wildcard redirect URIs are configured.","url":"https://insights.sbomify.com/CVE-2024-1132/"}