CVE-2026-102282
published high CVSS 3.1 · 7.1adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cthackers | — | adm-zip< 0.6.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cthackers | adm-zip | < 0.6.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-732 CWE-732: Incorrect Permission Assignment for Critical Resource
References
3Provider assertions
2GitHub_M · cna
adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c90e668327680ac4a0eaabc7c970a5de814dd934dbd6cc5375a59a69a6c246a7
- Ingested
- 07 Oct 2026, 22:38:03 UTC
- Source record
- Official CVE record