# CVE-2018-1002204: Arbitrary File Write in adm-zip

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 13.0%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2018-07-25T17:00:00.000Z
- Modified: 2026-06-17T01:33:21.563Z
- Also known as: GHSA-3v6h-hqm4-2rg6
- Weaknesses: CWE-22
- Assigned by: snyk

## Description

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

(As written by CVE List.)

## Affected

- node.js adm-zip: from unspecified before 0.4.9
- adm-zip (npm): before 0.4.11
- adm-zip_project adm-zip: before 0.4.9

## Every score

- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/research/zip-slip-vulnerability> (exploit, third-party-advisory, web)
- <https://github.com/cthackers/adm-zip/pull/212> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/snyk/zip-slip-vulnerability> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/npm:adm-zip:20180415> (exploit, third-party-advisory, web)
- <http://www.securityfocus.com/bid/107001> (third-party-advisory, vdb-entry, web)
- <https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25> (issue-tracking, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1002204> (advisory)
- <https://hackerone.com/reports/362118> (web)
- <https://github.com/advisories/GHSA-3v6h-hqm4-2rg6> (advisory)
- <https://www.npmjs.com/advisories/681> (web)
- <https://www.npmjs.com/advisories/994> (web)

## Sources

- CVE List: [CVE-2018-1002204](https://www.cve.org/CVERecord?id=CVE-2018-1002204), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-3v6h-hqm4-2rg6](https://github.com/advisories/GHSA-3v6h-hqm4-2rg6), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2018-1002204](https://nvd.nist.gov/vuln/detail/CVE-2018-1002204), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-1002204 · Whole record: https://cve.day/CVE-2018-1002204.json · Rebuilt by cve.day 2026-11-25T22:57:39.086Z
