Keycloak vulnerable to path traversal via double URL encoding
Keycloak does not properly validate URLs included in a redirect. An attacker could construct a malicious request to bypass validation and access other URLs and potentially sensitive information within the domain, or possibly conduct further attacks.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.keycloak:keycloak-parent | < 20.0.2 | 20.0.2 |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-g8q8-fggx-9r3q
- https://nvd.nist.gov/vuln/detail/CVE-2022-3782
- https://github.com/keycloak/keycloak/pull/15982/commits/1987c942f527b9f3bbf2a86ba71ba8ae0154ac37
- https://access.redhat.com/security/cve/CVE-2022-3782
- https://github.com/keycloak/keycloak
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-177, CWE-22- Platform
- Java / Kotlin (Maven)
- Package
org.keycloak:keycloak-parent- Disclosed
- 13.12.2022
- Updated
- 11.10.2026 11:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-g8q8-fggx-9r3q - CC BY 4.0
Vulnerability history: org.keycloak:keycloak-parent
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 26
- First → latest
- 05.2021 02.2026
- Without a fix
- 6
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 12
- Medium 10
- Low 2
Disclosures per year
- 2021: 1
- 2022: 22
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 2
-
Keycloak vulnerable to path traversal via double URL encoding this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.