Path Traversal in Zip4j
CVE-2018-1002202
zip4j before 1.3.3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.126, 96.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Zip4j — versions unspecified
- Zip4j Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- shoucheng3/srikanth-lingala__zip4j_CVE-2018-1002202_1-3-2 (last pushed 2025-08-18)
- iris-sast/zip4j (last pushed 2025-07-09): CWE-Bench-Java CVE-2018-1002202 versions 1.3.2, 1.3.3
Also mentioned in 3 other repositories (jpbprakash/vuln, mile9299/zip-slip-vulnerability, snyk/zip-slip-vulnerability). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/research/zip-slip-vulnerability (Exploit, Patch, Third Party Advisory, Issue Tracking)
- support.hpe.com/hpsc/doc/public/display (Third Party Advisory)
- github.com/snyk/zip-slip-vulnerability (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679 (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.