Cthackers adm-zip
adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.6.1
Fixed in 0.6.1
Mitigation
Upgrade adm-zip to 0.6.1 or later.
References
- Vendor advisory github.com/cthackers/adm-zip/security/advisori…
- Patch github.com/cthackers/adm-zip/commit/6a63c339b8…
- Release notes github.com/cthackers/adm-zip/releases/tag/v0.6…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.2 suspicious or fake
Suspicious or fake 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| x86byte/adm-zip_LPE-PoC | 23 Sep 2026 −12 d | 11 | Suspicious · score 50
Why suspicious
|
| Ahmed-Elmahgob/POC-CVE-2026-102282 | 2 Oct 2026 −2.7 d | 0 | Suspicious · score 50
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| PoC Index | https://github.com/Ahmed-Elmahgob/POC-CVE-2026-102282/blob/b54c46008fc565545bec330cf47df18a068b5d4f/poc/build-archive.js | unknown | 14 Nov 2026 |