# CVE-2026-87794: bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-09T10:07:27.925Z
- Modified: 2026-09-18T18:17:32.947Z
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

bestzip versions 2.2.6 and 3.0.2 contain an argument injection vulnerability in the nativeZip function that allows attackers to inject arbitrary arguments to the Info-ZIP backend. Attackers can supply a malicious destination path combined with crafted source entries to execute arbitrary commands with Node.js process privileges. Fixed in 2.2.7 and 3.0.3.

(As written by CVE List.)

## Affected

- nfriedly bestzip: from 2.2.6 before 2.2.7; from 3.0.2 before 3.0.3

## Every score

- VulnCheck: CVSS:4.0 8.6 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-xhwx-rch4-ph2v> (vendor-advisory)
- <https://github.com/nfriedly/node-bestzip/commit/2adb637b0acb05b8475de7db5af4b86ffcf40aaf> (patch)
- <https://github.com/nfriedly/node-bestzip/blob/v3.0.2/lib/bestzip.js> (technical-description)
- <https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc> (related, vendor-advisory)
- <https://www.npmjs.com/package/bestzip> (product)
- <https://github.com/nfriedly/node-bestzip> (product)
- <https://www.vulncheck.com/advisories/bestzip-2.2.6-and-3.0.2-argument-injection-via-the-native-zip-destination> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-87794](https://www.cve.org/CVERecord?id=CVE-2026-87794), CVE Terms of Use, modified 2026-09-18
- NVD: [CVE-2026-87794](https://nvd.nist.gov/vuln/detail/CVE-2026-87794), Public domain, modified 2026-09-18

---

Page: https://cve.day/CVE-2026-87794 · Whole record: https://cve.day/CVE-2026-87794.json · Rebuilt by cve.day 2026-11-25T22:59:37.720Z
