{"id":"CVE-2026-102282","published":"2026-10-05T17:00:00Z","modified":"2026-10-07T20:53:52Z","title":"adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation","vendor":"cthackers","product":"adm-zip","tier":"tail","description":{"text":"adm-zip is a JavaScript library for creating and extracting ZIP archives in Node.js. Prior to 0.6.1, adm-zip applies the Unix permission bits stored in a zip entry directly to the extracted file via `fs.chmodSync()` when `keepOriginalPermission=true` is passed to `extractAllTo()`/`extractEntryTo()` — and it never filters the setuid/setgid/sticky bits out of those bits. A zip crafted by an attacker can therefore produce an extracted binary with mode `04755`. When extraction runs as root (the default posture in Docker builds, CI runners, and privileged install steps — the exact environments where this flag is used), the resulting root-owned setuid file is executed later by a lesser-privileged user, turning the attacker's code into a root execution. Version 0.6.1 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00199,"percentile":0.09749,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/cthackers/adm-zip/security/advisories/GHSA-j5f4-cc29-5x44","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cthackers/adm-zip/commit/6a63c339b83c52915483efacda517660a7a7bf87","tags":["x_refsource_MISC"]},{"url":"https://github.com/cthackers/adm-zip/releases/tag/v0.6.1","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":1.95},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.97}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2026-09-23","earliestUrl":"https://github.com/x86byte/adm-zip_LPE-PoC","repos":[{"name":"x86byte/adm-zip_LPE-PoC","url":"https://github.com/x86byte/adm-zip_LPE-PoC","stars":11,"created":"2026-09-23"},{"name":"Ahmed-Elmahgob/POC-CVE-2026-102282","url":"https://github.com/Ahmed-Elmahgob/POC-CVE-2026-102282","stars":0,"created":"2026-10-02"}]},"first":{"date":"2026-09-23","source":"PoC-in-GitHub","url":"https://github.com/x86byte/adm-zip_LPE-PoC"},"provenance":"source"},"vendorSlug":"cthackers","affectedVersions":[{"vendor":"cthackers","product":"adm-zip","versions":["< 0.6.1"]}],"affected":[{"ecosystem":"npm","package":"adm-zip","vulnerableRanges":["<0.6.1"],"patched":["0.6.1"],"from":["GHSA-j5f4-cc29-5x44"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-92493","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-makeplane-plane-cve-2026-30242","children":[{"from":"CVE-2026-102282","to":"CVE-2026-104973","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-j5f4-cc29-5x44","via":"related"}]}],"packageHistory":[{"cve":"CVE-2018-1002204","published":"2018-07-25","fixed":"0.4.11","kev":false},{"cve":"CVE-2026-39244","published":"2026-07-10","fixed":"0.6.0","kev":false,"link":{"from":"CVE-2026-39244","to":"CVE-2026-102282","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:adm-zip","fromFixed":"0.6.0","toFixed":"0.6.1","daysApart":87}]}},{"cve":"CVE-2026-102282","published":"2026-10-05","fixed":"0.6.1","kev":false},{"cve":"CVE-2026-77301","published":"2026-09-18","fixed":"0.6.1","kev":false}],"package":"npm:adm-zip"}}