CVE-2026-102282 Details
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.
A vulnerability in the adm-zip library, prior to version 0.6.1, allows for local privilege escalation. The library extracts ZIP archive entries and applies the Unix permission bits directly to the extracted files. When the 'keepOriginalPermission' option is enabled, adm-zip does not filter out special permission bits such as setuid, setgid, or sticky bits. This oversight can be exploited by crafting a ZIP file that, when extracted, creates a binary file with a setuid bit. If this extraction occurs while running as root, the setuid file can later be executed by a less privileged user, leading to unauthorized root access. This vulnerability is particularly relevant in environments like Docker, CI runners, and during privileged installation steps, where the default user is root.
Users are advised to update to adm-zip version 0.6.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 5, 2026CISA-ADP
Assessed Oct 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cthackers/adm-zip/security/advisories/GHSA-j5f4-cc29-5x44 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/cthackers/adm-zip/commit/6a63c339b83c52915483efacda517660a7a7bf87 | [email protected] | Source CodeVendor |
| https://github.com/cthackers/adm-zip/releases/tag/v0.6.1 | [email protected] | Release NotesVendor |
| https://github.com/cthackers/adm-zip/security/advisories/GHSA-j5f4-cc29-5x44 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| adm-zip | <= 0.6.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Modified | CISA-ADP |
| Oct 5, 2026 | New CVE Received | [email protected] |
Volerion