# CVE-2022-3782: Keycloak vulnerable to path traversal via double URL encoding

Source: https://junglewise.ai/threats/cve-2022-3782-keycloak-vulnerable-to-path-traversal-via-double-url-encoding  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-12-13  
License: CC BY 4.0 with a link back

CVE-2022-3782 · Severity: low · CVSS 3.1 · Published 2022-12-13

Keycloak vulnerable to path traversal via double URL encoding

Technologies: [org.keycloak:keycloak-parent (Maven)](https://junglewise.ai/threats/technologies/org-keycloak-keycloak-parent). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-3782 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-3782 being exploited in the wild.

**How severe is CVE-2022-3782?** Low severity, with a CVSS score of 3.1, published 13 December 2022.

**Which products and versions are affected?** org.keycloak:keycloak-parent (Maven) ECOSYSTEM:introduced=0,fixed=20.0.2.

**Is there a fix for CVE-2022-3782?** Yes. org.keycloak:keycloak-parent (Maven): upgrade to 20.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-3782?** Check whether you run org.keycloak:keycloak-parent (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.keycloak:keycloak-parent (Maven): upgrade to 20.0.2 or later

  ```sh
  # set org.keycloak:keycloak-parent to 20.0.2 in your pom.xml or build.gradle
  ```


## Affected products

- org.keycloak:keycloak-parent (Maven) ECOSYSTEM:introduced=0,fixed=20.0.2

## Identifiers

- CVE-2022-3782
- GHSA-g8q8-fggx-9r3q

## Related threats

- [Keycloak SSRF in client registration and backchannel notification URIs](https://junglewise.ai/threats/cve-2026-1518-keycloak-ssrf-in-client-registration-and-backchannel-notification)
- [Keycloak permissive Authorization header parsing bypass](https://junglewise.ai/threats/cve-2026-0707-keycloak-permissive-authorization-header-parsing-bypass)
- [Duplicate Advisory: Keycloak Open Redirect vulnerability](https://junglewise.ai/threats/duplicate-advisory-keycloak-open-redirect-vulnerability-32d9749a)
- [Keycloak Cross-site Scripting on OpenID connect login service](https://junglewise.ai/threats/cve-2022-4137-keycloak-cross-site-scripting-on-openid-connect-login-service)
- [Keycloak vulnerable to session takeover with OIDC offline refreshtokens](https://junglewise.ai/threats/cve-2022-3916-keycloak-vulnerable-to-session-takeover-with-oidc-offline)
