{"id":"CVE-2018-1002204","aliases":["CLSA-2026-1776731784","CLSA-2026-1784596298","EUVD-2018-0219","GHSA-3v6h-hqm4-2rg6"],"status":"published","title":"Arbitrary File Write in adm-zip","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'.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.13454,"percentile":0.96461,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2018-07-25T17:00:00Z","modified":"2026-10-20T10:49:41Z","fixes":[{"ecosystem":"npm","package":"adm-zip","fixed_in":["0.4.11"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"adm-zip","fixed_in":["0.4.4-tuxcare.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"adm-zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.11"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"adm-zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.4-tuxcare.0"},{"fixed":"0.4.4-tuxcare.1"}]}],"versions":["0.4.4"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"adm-zip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.7-tuxcare.0"},{"fixed":"0.4.7-tuxcare.1"}]}],"versions":["0.4.7"],"bundled":2},{"source":"osv","ecosystem":"npm","package":"adm-zip","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.11"}]}]}],"products":[{"vendor":"adm-zip_project","product":"adm-zip"},{"vendor":"node.js","product":"adm-zip"}],"references":[{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/cthackers/adm-zip/pull/212","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"http://www.securityfocus.com/bid/107001","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/snyk/zip-slip-vulnerability","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/npm:adm-zip:20180415","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1002204","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3v6h-hqm4-2rg6","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/681","tags":["web"]},{"url":"https://hackerone.com/reports/362118","tags":["web"]},{"url":"https://www.npmjs.com/advisories/994","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-1002204","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'.","status":"published","published":"2018-07-25T17:00:00Z","modified":"2024-08-05T12:47:57.468Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:09.139955Z"}],"euvd":[{"id":"EUVD-2018-0219","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'.","status":"published","published":"2018-07-25T17:00:00Z","modified":"2024-08-05T12:47:57Z","updated_at":"2026-11-03T02:39:25.8334Z"}],"ghsa":[{"id":"GHSA-3v6h-hqm4-2rg6","title":"Arbitrary File Write in adm-zip","description":"Versions of `adm-zip` before 0.4.9 are vulnerable to arbitrary file write when used to extract a specifically crafted archive that contains path traversal filenames (`../../file.txt` for example).\n\n\n## Recommendation\n\nUpdate to version 0.4.9 or later.","status":"published","published":"2018-07-27T17:07:14Z","modified":"2023-09-12T20:38:12Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:04.447845Z"}],"nvd":[{"id":"CVE-2018-1002204","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'.","status":"published","published":"2018-07-25T17:29:01.657Z","modified":"2026-06-17T01:33:21.563Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:04:35.310988Z"}],"osv":[{"id":"CVE-2018-1002204","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'.","status":"published","published":"2018-07-25T17:29:01.657Z","modified":"2026-10-20T10:49:41.01578011Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:07.641418Z"},{"id":"GHSA-3v6h-hqm4-2rg6","title":"Arbitrary File Write in adm-zip","description":"Versions of `adm-zip` before 0.4.9 are vulnerable to arbitrary file write when used to extract a specifically crafted archive that contains path traversal filenames (`../../file.txt` for example).\n\n\n## Recommendation\n\nUpdate to version 0.4.9 or later.","status":"published","published":"2018-07-27T17:07:14Z","modified":"2023-11-08T03:59:42.410281Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:36.092962Z"},{"id":"CLSA-2026-1776731784","title":"TuxCare security update for adm-zip (1 CVE)","description":"TuxCare rebuilt adm-zip to address 1 CVE. Fixed in 0.4.4-tuxcare.1.","status":"published","published":"2026-08-04T14:52:27Z","modified":"2026-10-15T09:45:45.780717717Z","updated_at":"2026-11-02T15:43:44.009773Z"},{"id":"CLSA-2026-1784596298","title":"TuxCare security update for adm-zip (2 CVEs)","description":"TuxCare rebuilt adm-zip to address 2 CVEs. Fixed in 0.4.7-tuxcare.1.","status":"published","published":"2026-08-04T14:52:45Z","modified":"2026-10-15T09:47:52.485540194Z","updated_at":"2026-11-02T15:43:46.482572Z"}]}}
