adm-zip 0.5.9 through 0.6.0 Arbitrary File Overwrite via Symlink Following on Extraction
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Deferred Red Hat: fix deferred
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
adm-zip 0.5.9 through 0.6.0 follows symbolic links at the extraction destination. Utils.sanitize in util/utils.js enforces containment by comparing only the string form of an archive entry name against the resolved extraction root, and Utils.writeFileTo opens the computed destination with fs.openSync(path, "w", 0o666), which resolves symbolic links and carries neither O_NOFOLLOW nor a pre-write fs.lstatSync check. When a path component at the destination already exists as a symbolic link pointing outside the extraction root, extractAllTo, extractAllToAsync and extractEntryTo write the entry contents through that link and then chmod its target, placing attacker-controlled content in a file outside the root without any traversal sequence appearing in the archive. Reaching the write requires overwrite to be enabled, because the preceding fs.existsSync check also resolves the link and otherwise declines. An attacker able to create a symbolic link inside a shared, reused or predictable extraction directory, such as a temporary directory or a continuous integration workspace, can overwrite any file the extracting process is permitted to write.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| cthackers | adm-zip | 0.5.9 – 0.6.0 | — | No fix listed | CNA |
| — | adm-zip (npm) | 0.5.9 – 0.6.0 | — | No fix listed | GHSA-vwc7-r8mq-g2x9 |
- adm-zip Vendorcthackers Affected 0.5.9 – 0.6.0 Fixed in — No fix listed CNA
- adm-zip (npm) Vendor— Affected 0.5.9 – 0.6.0 Fixed in — No fix listed GHSA-vwc7-r8mq-g2x9
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix planned: Out of support scope |
| Red Hat Build of Podman Desktop | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 1 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
| Self-service automation portal 2 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-76845
- 2026-10-03 Alias added: GHSA-vwc7-r8mq-g2x9
- 2026-10-27 Affected versions changed · Red Hat
- 2026-11-06 Affected versions changed · Red Hat
References
More cthackers vulnerabilities
- TI-2026-78715 Denial of service in adm-zip via unhandled error in inflateAsync CVSS 4.0HIGH 8.7
- TI-2026-53963 adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS) CVSS 3.1HIGH 7.5
- TI-2026-78716 Decompression bomb guard bypass in adm-zip exhausts memory CVSS 4.0MEDIUM 6.9
- TI-2026-78717 Duplicate ZIP entry names bypass validation in adm-zip CVSS 4.0HIGH 8.2
- TI-2026-67762 adm-zip extraction keeps setuid bits from untrusted ZIP files CVSS 3.1HIGH 7.1
- TI-2026-62130 adm-zip 0.5.14 through 0.6.0 Denial of Service via Zero Declared Uncompressed Size CVSS 4.0HIGH 8.7
Sources
- CVE-2026-76845 · CVE Program
- CVE-2026-76845 · NVD
- FIRST EPSS
- GHSA-vwc7-r8mq-g2x9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-76845 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences