patchminder
Proof of concept · GitHub CVE-2018-1002202

Path traversalin the net.lingala.zip4j:zip4j package.

Published 25 Jul 2018 · Updated 5 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 6.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 12.5% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.3.3 or later
In plain words

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'.

What to do now
  • Upgrade zip4j to 1.3.3 or later.
  • Upgrade net.lingala.zip4j:zip4j (Maven) to 1.3.3 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
zip4j
before 1.3.3
1.3.3
CVE record
net.lingala.zip4j:zip4j (Maven)
before 1.3.3
1.3.3
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 25 Jul 2018
    CVE ID reserved by snyk.
  2. 25 Jul 2018
    Published in the CVE List.
  3. 5 Aug 2024
    CVE record last updated.
  4. 30 Jun 2025
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
2 repositories
GitHubno warning signs foundiris-sast/zip4j0 stars · created 30 Jun 2025CWE-Bench-Java CVE-2018-1002202 versions 1.3.2, 1.3.3
GitHubno warning signs foundshoucheng3/srikanth-lingala__zip4j_CVE-2018-1002202_1-3-20 stars · created 18 Aug 2025

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

Same weakness: Path traversal

All CWE-22 vulnerabilities

References
Cite this page

Patchminder. CVE-2018-1002202: Path traversal in the net.lingala.zip4j:zip4j package. https://patchminder.com/cve/cve-2018-1002202/ (accessed 5 December 2026).