Path Traversal vulnerabilities
17 real-world path traversal CVEs, from the bug in the code to the exploit. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2024-4956high 7.52024
Nexus Repository 3 path traversal
An unauthenticated request path is used to fetch a file with no canonicalization, so stacked ../ sequences read arbitrary files off the host.
- CVE-2022-29799medium 5.52022
Nimbuspwn: networkd-dispatcher state path traversal
An unvalidated network state is joined into a privileged hook directory, allowing script discovery to escape its intended base path.
- CVE-2022-34713high 7.82022
DogWalk: Diagnostic Tool path traversal
A diagnostic package can direct MSDT to a remote folder whose returned filename contains dot segments; simple path concatenation then writes the downloaded file outside the intended temporary directory.
- CVE-2022-24348high 7.72022
Argo CD Helm value-file path traversal
A containment check on Helm value-file paths runs only when the path fails to parse as a URI, so a client-supplied absolute path parses cleanly, skips the check, and reads files from outside the repository root.
- CVE-2021-42013critical 9.82021
Apache path traversal (incomplete fix of CVE-2021-41773)
The 2.4.50 fix for the 2.4.49 traversal only decoded one layer, so a double-encoded dot-segment slips past it and re-traverses.
- CVE-2021-41773critical 9.82021
Apache HTTP Server mixed-encoding path traversal
Apache 2.4.49 decoded and normalized a path in one pass, allowing a literal dot plus an encoded dot to evade parent-directory removal.
- CVE-2021-22005critical 9.82021
vCenter Analytics telemetry filename traversal
The unauthenticated Analytics endpoint derived a JSON filename from the _c and _i query parameters and wrote the POST body beneath its telemetry directory. Traversal components in the derived name were not contained, so the caller could redirect the write to an arbitrary service-writable path.
- CVE-2021-40444high 7.82021
MSHTML remote-HTML ActiveX to RCE via CAB path traversal (CVE-2021-40444)
CVE-2021-40444: an Office document loads attacker-hosted HTML through MSHTML, which instantiates an ActiveX control whose codebase points at a CAB archive. A ../ path-traversal filename inside the CAB drops an INF into a predictable temp path, and a .cpl: URL with a relative-path escape then runs it via control.exe. Used in the wild in 2021 to deliver Cobalt Strike loaders, and a recognized predecessor of the Follina MSDT bug (CVE-2022-30190).
- CVE-2021-20090critical 9.82021
Arcadyan router path-meaning authentication bypass
The router checks a raw URI against an unauthenticated directory prefix before later decoding and resolving that URI to a protected resource.
- CVE-2021-21972critical 9.82021
vCenter vSphere Client OVA upload path traversal to RCE
An unauthenticated OVA-upload endpoint extracts a tar archive by joining each entry name onto a fixed directory with no containment, so a ../ entry writes a JSP webshell into the webroot.
- CVE-2020-14882critical 9.82020
Oracle WebLogic Console auth bypass via path normalization
The console request filter decides a request is a public static asset from its raw URL prefix, then normalizes the path afterward, so a ../ that collapses after the check walks an unauthenticated request into a privileged admin handler.
- CVE-2020-5902critical 9.82020
F5 BIG-IP TMUI semicolon path-normalization RCE
A reverse proxy and its Java backend normalize a semicolon path segment differently, so a request that looks like the public login page traverses to a protected admin endpoint with no authentication.
- CVE-2019-19781critical 9.82019
Citrix ADC/Gateway path traversal to Template Toolkit RCE
An unauthenticated request writes an attacker-named file through a directory-traversal header, landing it in a directory whose contents are later parsed by a template engine, so a stored template payload runs as code.
- CVE-2018-13379critical 9.82019
FortiOS SSL VPN pre-auth path traversal
An unauthenticated lang parameter is concatenated into a fixed-size file path, so stacked ../ sequences (plus a suffix-truncation trick) read arbitrary system files, including the plaintext SSL VPN session store.
- CVE-2019-11510critical 10.02019
Pulse Connect Secure pre-auth arbitrary file read
A pre-auth static-file handler checks the raw request URI against an allowed prefix but opens a separately normalized path, so a traversal with the prefix parked in the query string escapes the web root and reads any file, including the session and credential databases.
- CVE-2019-3396critical 9.82019
Confluence Widget Connector attacker-controlled Velocity template path
The Widget Connector forwarded the request parameter map to the renderer. For renderer paths that did not overwrite `_template`, the requester could select the Velocity resource to load, enabling path traversal and evaluation of attacker-controlled template content. The patch removes `_template` before dispatch.
- CVE-2018-20250high 7.82019
WinRAR ACE extraction absolute-path traversal
A crafted ACE member survives incomplete cleaning as a Windows device-relative path, causing extraction logic to discard the selected destination directory.