CVE-2026-87794 json
bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination
published 2mo ago modified last mo. also EUVD-2026-74790 , GHSA-xhwx-rch4-ph2v
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository nfriedly/node-bestzip. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm bestzip 2.2.7, 3.0.3
- nfriedly bestzip 2.2.7, 3.0.3
Is CVE-2026-87794 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last mo.
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.6 | 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 |
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 8.6 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | bestzip | 2.2.6 3.0.2 |
2.2.7 3.0.3 |
Affected products
- nfriedly bestzip
Classification
- Weakness
-
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
References
-
github.com
/nfriedly/node-bestzip/commit/2adb637b0acb05b8475de7db5af4b86ffcf40aaf
patch
-
github.com
/nfriedly/node-bestzip/security/advisories/GHSA-xhwx-rch4-ph2v
vendor-advisory, advisory
-
github.com
/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc
related, vendor-advisory
-
github.com
/nfriedly/node-bestzip/blob/v3.0.2/lib/bestzip.js
technical-description
-
npmjs.com
/package/bestzip
product
-
github.com
/nfriedly/node-bestzip
product
-
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
- NVD CVE-2026-87794
- Maintainer advisory GHSA-xhwx-rch4-ph2v
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of nfriedly/node-bestzip published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.