CVE-2022-3782: Path traversal via double URL encoding
CVE-2022-3782 affects 62 listed versions of Red Hat Keycloak in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Red Hat Keycloak
62 of 176 listed versions are affected. Fixed in 20.0.2. The newest release, 26.37.1, is not affected.
20.0.1 20.0.0 19.0.3 19.0.2 19.0.1 19.0.0 18.0.6 18.0.2 18.0.1 18.0.0 17.0.1 17.0.0 16.1.1 16.1.0 16.0.0 15.1.1 15.1.0 15.0.2 15.0.1 15.0.0 14.0.0 13.0.1 13.0.0 12.0.4 12.0.3 12.0.2 12.0.1 12.0.0 11.0.3 11.0.1 11.0.0 10.0.2 10.0.1 10.0.0 9.0.13 9.0.2 9.0.1 9.0.0 8.0.2 8.0.0 7.0.1 7.0.0 6.0.2 6.0.1 6.0.0 4.8.3 4.6.0 4.3.0.Final 4.3.0 4.2.1 4.0.0 3.4.3.Final 3.4.3 3.4.2.Final 3.4.0 3.2.1.Final 3.2.1 2.5.5 2.5.1 2.4.0 and 2 more
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (NVD)
Published by Red Hat on 13 January 2023. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2022-3782 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.