CVE-2026-102282cthackers adm-zip
High 7.1
Follow: this CVE · cthackers · cthackers adm-zip We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.1
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 5, 2026
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-732
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for adm-zip.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | adm-zip |
< 0.6.1 |
0.6.1 |
npm install adm-zip@0.6.1 |
Per OSV / GitHub Advisories (GHSA-j5f4-cc29-5x44). Check the version in your lockfile before upgrading.
Affected products
- cthackers · adm-zip
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.