CVE-2022-3782
CRITICAL 9.1CVSS 3.1Keycloak vulnerable to path traversal via double URL encoding
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
- 13 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-177CWE-22
- Also known as
- GHSA-g8q8-fggx-9r3q
- Sources
- NVDJSONOSV GHSA-g8q8-fggx-9r3qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:20.0.2:*:*:*:*:*:*:* |
= 20.0.2 | |
| OSV | Maven | org.keycloak:keycloak-parent | < 20.0.2 | 20.0.2 |
References
- https://access.redhat.com/security/cve/CVE-2022-3782 · Vendor Advisory, WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-g8q8-fggx-9r3q · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-3782 · ADVISORY
- https://github.com/keycloak/keycloak/pull/15982/commits/1987c942f527b9f3bbf2a86ba71ba8ae0154ac37 · WEB
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Jan 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Dec 2022)