# CVE-2026-76845: adm-zip 0.5.9 through 0.6.0 Arbitrary File Overwrite via Symlink Following on Extraction

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-24 · Modified: 2026-08-24
- Aliases: CGA-24ww-vhf8-g44g, CGA-8w6x-8qjf-g6r2, CGA-g5mw-57fc-fwpp, CGA-ggqv-c65h-qhcp, CGA-px5w-26p4-3vgq, CGA-v448-cj49-8g9g, CGA-v8f7-r2x9-mx5g, CGA-x83g-8m2x-9hff, GHSA-vwc7-r8mq-g2x9, CGA-3cqg-r47v-4hq4, CGA-5228-vx8p-wwmr, CGA-56q6-3prp-m5vr, CGA-57jc-jfw5-gx7w, CGA-5jhm-rmp6-mm5r, CGA-5qmr-xj3g-7p5j, CGA-6pqj-5fxr-5f24, CGA-7m48-mfq9-v952, CGA-86h9-f652-f7hh, CGA-8965-55f5-4f4g, CGA-f3pg-j26r-h987, CGA-fwvf-rr6g-2j9r, CGA-grqf-8664-854w, CGA-jqh6-f8f9-gv2m, CGA-m5rh-w479-w62r, CGA-mpr6-gmcx-83r3, CGA-mx4h-mqx6-76h2, CGA-p7mp-m2wg-6xmf, CGA-qv55-8rq9-hfxh, CGA-r2qg-4835-5589, CGA-r6m9-xxcx-h9g3, CGA-r9mc-xqvm-42xg, CGA-rp35-p53r-34pv, CGA-wgpq-mmv6-2fpj
- Record: https://cvemate.com/vulnerability/CVE-2026-76845 · JSON: https://cvemate.com/vulnerability/CVE-2026-76845/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.132%, percentile 2.929%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard kibana-8.19 (Chainguard): \< 8.19.21-r3
- chainguard kibana-8.19-bitnami (Chainguard): \< 8.19.21-r3
- chainguard kibana-8.19-iamguarded (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.2 (Chainguard): \< 9.2.8-r21
- chainguard kibana-9.2-iamguarded (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.3 (Chainguard): \< 9.3.8-r3
- chainguard kibana-9.3-iamguarded (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.4 (Chainguard): \< 9.4.6-r4
- chainguard kibana-9.4-iamguarded (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.5 (Chainguard): \< 9.5.3-r3 \| \< 9.5.3-r4
- chainguard kibana-9.5-iamguarded (Chainguard): \< 9.5.3-r3
- chainguard redisinsight (Chainguard): \< 3.8.0-r6
- chainguard renovate (Chainguard): \< 44.101.3-r0
- chainguard saf (Chainguard): \< 1.7.0-r2
- chainguard sqlpad (Chainguard): \< 7.5.7-r41
- wolfi renovate (Wolfi): \< 44.101.3-r0
- wolfi saf (Wolfi): \< 1.7.0-r2
- wolfi sqlpad (Wolfi): \< 7.5.7-r41
- cthackers adm-zip: ≥ 0.5.9, ≤ 0.6.0
- Npm adm-zip (Npm): ≥ 0.5.9, ≤ 0.6.0

## References

- <https://github.com/cthackers/adm-zip>
- <https://github.com/cthackers/adm-zip/blob/v0.6.0/util/utils.js>
- <https://www.vulncheck.com/advisories/adm-zip-through-arbitrary-file-overwrite-via-symlink-following-on-extraction>
- <https://www.npmjs.com/package/adm-zip>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76845.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-76845>
- <https://github.com/cthackers/adm-zip/issues/574>
- <https://github.com/cthackers/adm-zip/pull/575>

---

Data as of 2026-12-05T11:08:04.304Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
