{"id":"CVE-2022-3782","aliases":["GHSA-g8q8-fggx-9r3q"],"url":"https://o3.security/vulnerability/CVE-2022-3782","summary":"Keycloak vulnerable to path traversal via double URL encoding ","details":"keycloak: path traversal via double URL encoding. A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. An attacker can use this flaw to construct a malicious request to bypass validation and access other URLs and potentially sensitive information within the domain or possibly conduct further attacks. This flaw affects any client that utilizes a wildcard in the Valid Redirect URIs field.","published":"2023-01-11T16:58:10.434Z","modified":"2026-08-12T03:51:28.451527693Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-parent","fixedVersion":"20.0.2"}],"fix":{"url":"https://github.com/keycloak/keycloak/pull/15982/commits/1987c942f527b9f3bbf2a86ba71ba8ae0154ac37","label":"keycloak/keycloak#15982"},"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-3782"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3782.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3782"},{"type":"WEB","url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-g8q8-fggx-9r3q"},{"type":"WEB","url":"https://github.com/keycloak/keycloak/pull/15982/commits/1987c942f527b9f3bbf2a86ba71ba8ae0154ac37"},{"type":"PACKAGE","url":"https://github.com/keycloak/keycloak"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:28.451527693Z"}}