CVE-2018-1002204: adm-zip npm library before 0.4.9 is vulnerable to directory traversal, allowing attackers to write to arbitrar
CVE-2018-1002204 is a medium-severity flaw (CVSS 5.5) affecting adm-zip. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
adm-zip npm library before 0.4.9 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'.
Why this priority
- EPSS top 4%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 13.5% (top 4%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2018-07-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-1002204?
adm-zip: upgrade to 0.4.9. Exact commands for each OS are on this page.
Is CVE-2018-1002204 being exploited?
CVE-2018-1002204 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-1002204 affect?
CVE-2018-1002204 affects adm-zip. Severity is medium (CVSS 5.5). adm-zip npm library before 0.4.9 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
How urgent is CVE-2018-1002204?
Priority 48/100. EPSS top 4%: very likely to be exploited; Public exploit reference