CVE-2026-102282 adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation
Attackers can craft ZIP files to preserve SUID/SGID bits during extraction, enabling local privilege escalation to root when extracted with specific permissions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-102282?
CVE-2026-102282 is a high-severity vulnerability in cthackers adm-zip, published on 5 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-732
Which versions are affected by CVE-2026-102282?
2 open source packages ship an affected version, including adm-zip.
| Package | Affected | Fixed in |
|---|---|---|
adm-zip npm | All versions | 0.6.1 |
adm-zip npm | All versions | 0.6.1 |
How do I fix CVE-2026-102282?
Upgrade adm-zip to 0.6.1 or later.
Is CVE-2026-102282 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-102282 exists.
Public exploit code: 2 proofs of concept on GitHub.
Sources
Also known as CLEANSTART-2026-DD82894, CLSA-2026-1790755853, CLSA-2026-1790760941, CLSA-2026-1790854753, CLSA-2026-1790856818, CLSA-2026-1790864771 and 18 more.