NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
CRITICAL severity

CVE-2022-3782 — keycloak-parent

CRITICALFix: keycloak/keycloak#15982

CVE-2022-3782 is a critical-severity (CVSS 9.1) Path Traversal vulnerability in org.keycloak:keycloak-parent. A fix is available for org.keycloak:keycloak-parent — see the affected versions and patch details below.

Keycloak vulnerable to path traversal via double URL encoding

Also known asGHSA-g8q8-fggx-9r3q
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 9, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-3782.

EPSS Exploitation Probability

via FIRST.org ↗
6.0%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs93th percentile — riskier than 93% of all scored CVEsHighest risk
0.00%2.57%5.14%7.70%0.1%6.0%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
☕org.keycloak:keycloak-parent

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.keycloak:keycloak-parentall versions20.0.2org.keycloak:keycloak-parent:20.0.2

Affected Products

1 product · 1 configurations
Application
keycloakredhat
1 version
20.0.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.keycloak:keycloak-parent, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.keycloak:keycloak-parent to 20.0.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-3782 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

Red Hat Build of Quarkus is not impacted as this CVE affects the server-side Keycloak execution but Quarkus only acts as a Keycloak client in its quarkus-keycloak-authorization extension. For this reason Quarkus is marked with Low impact.

ProductFixed inAdvisory
AMQ Broker 7.10.3see advisoryRHSA-2023:3185
AMQ Broker 7.11.0keycloakRHSA-2023:1661
Migration Toolkit for Runtimes 1 on RHEL 8org.keycloak-keycloak-parentRHSA-2023:1285
MTA-6.1-RHEL-8mta/mta-windup-addon-rhel8:6.1.0-11RHSA-2023:2041
Red Hat Single Sign-On 7rh-sso7-keycloakRHSA-2023:1049
Red Hat Single Sign-On 7.6.1rh-sso7-keycloakRHSA-2022:8965
Red Hat Single Sign-On 7.6 for RHEL 7rh-sso7-keycloak-0:18.0.3-1.redhat_00002.1.el7ssoRHSA-2022:8961
Red Hat Single Sign-On 7.6 for RHEL 8rh-sso7-keycloak-0:18.0.3-1.redhat_00002.1.el8ssoRHSA-2022:8962

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2022-3782 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2022-3782: keycloak Path Traversal — Fixed in 20.0.2