{"id":"CVE-2024-2419","aliases":["CVE-2024-2419","GHSA-mrv8-pqfj-7gp5"],"related":[],"kind":"vulnerability","state":"published","title":"Keycloak: path traversal in the redirect validation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"An issue was found in the redirect_uri validation logic that allows for a bypass of otherwise explicitly allowed hosts.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró una falla en la lógica de validación de redirección_uri de Keycloak. Este problema puede permitir la omisión de hosts permitidos explícitamente. Un ataque exitoso puede conducir al robo de un token de acceso, lo que hace posible que el atacante se haga pasar por otros usuarios. Es muy similar a CVE-2023-6291.","source":"nvd"}],"published":"2024-04-17T13:23:34.652Z","modified":"2026-11-26T13:31:52.245Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","score":7.1,"rating":"HIGH"}],"cwes":["CWE-346","CWE-601"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"22.0.10","status":"affected"},{"type":"semver","introduced":"23.0.0","fixed":"24.0.3","status":"affected"}],"package":"keycloak","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"22.0.10-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"22-13","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"22-16","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 22","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:22::el9","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"22.0.10"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"23.0.0","status":"affected","fixed":"24.0.3"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"ghsa"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:1867","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-2419","tags":["vdb-entry","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2269371","tags":["issue-tracking","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-mrv8-pqfj-7gp5","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2419","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"],"sources":["ghsa"]}],"credits":["Red Hat would like to thank Taha Marzak for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-04-25T19:49:32.838Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-2419","url":"https://www.cve.org/CVERecord?id=CVE-2024-2419","licence":"CVE Terms of Use","modified":"2026-11-26T13:31:52.245Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mrv8-pqfj-7gp5","url":"https://github.com/advisories/GHSA-mrv8-pqfj-7gp5","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:12.848Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-2419","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2419","licence":"Public domain","modified":"2026-06-17T07:24:29.903Z"}],"updatedAt":"2026-11-26T13:37:24.445Z","epss":{"score":0.00663,"percentile":0.46629,"date":"2026-11-30T12:00:22.000Z"}}