{"id":"CVE-2024-2419","summary":"Keycloak: path traversal in the redirect validation","details":"A flaw was found in Keycloak's redirect_uri validation logic. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to the theft of an access token, making it possible for the attacker to impersonate other users. It is very similar to CVE-2023-6291.","aliases":["GHSA-mrv8-pqfj-7gp5"],"modified":"2026-05-27T03:54:52.924217319Z","published":"2024-04-17T13:23:34.652Z","related":["CGA-3xrg-53gw-3c3w"],"database_specific":{"cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2419.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:1867"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-2419"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2419.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2419"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2269371"},{"type":"PACKAGE","url":"https://github.com/keycloak/keycloak"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/keycloak/keycloak","events":[{"introduced":"0"},{"fixed":"bf8c3c32e53449a632381605f1162fafe9abe8eb"},{"introduced":"1d4ce3d8e9dbc9af996f9248996c78e145902a35"},{"fixed":"27d38787d9eae0854f79a358cda77f834008b71a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"22.0.10"},{"introduced":"23.0.0"},{"fixed":"24.0.3"}],"source":"AFFECTED_FIELD"}}],"versions":["2.4.0.Test","1.3.0.Final","1.1.0.Beta2","1.0.0.Final","1.0-final","1.0-rc-1","1.0-beta-4","1.0-beta-2","1.0-beta-1","1.0-alpha-3","1.0-alpha-2","1.0-alpha-1","1.0-alpha-1-12062013"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-2419.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L"}]}