Medium
Security advisory
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'.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-1002204
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:00 UTC · Revision 1
Source evidence
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'.
osv:CVE-2018-1002204
Complete source record
{
"id": "1c84f2f68bf37da3ba4f28cc986ffd487c7a2adaab842fdc143c1d12311da5a7",
"url": "https://osv.dev/vulnerability/CVE-2018-1002204",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-1002204",
"summary": "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'.",
"evidence": "osv:CVE-2018-1002204",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-1002204",
"aliases": [
"CVE-2018-1002204",
"GHSA-3v6h-hqm4-2rg6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cthackers/adm-zip",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "89b6f6788d92c28ff2c6df3c90957d22b6376c7f"
},
{
"fixed": "62f64004fefb894c523a7143e8a88ebe6c84df25"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:adm-zip_project:adm-zip:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.4.9"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "62f64004fefb894c523a7143e8a88ebe6c84df25"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.4.7",
"v0.4.5",
"v0.4.6",
"v0.4.4",
"v0.4.3",
"v0.3.2",
"v0.3.1",
"v0.2.1",
"v0.1.9",
"v0.1.8",
"v0.1.7",
"v0.1.5",
"v0.1.3",
"v0.1.2",
"v0.1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1002204.json"
}
}
],
"modified": "2026-10-20T10:49:41.015780110Z",
"provider": "osv",
"references": [
"https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25",
"https://github.com/cthackers/adm-zip/pull/212",
"https://github.com/snyk/zip-slip-vulnerability",
"https://snyk.io/research/zip-slip-vulnerability",
"https://snyk.io/vuln/npm:adm-zip:20180415"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-1002204",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380684,
"published_at": "2018-07-25T17:29:01.657+00:00"
}