Skip to main content
CVE-2026-87794VulnerabilityPublished 09/09/2026Updated 09/18/2026

CVE-2026-87794: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in nfriedly bestzip

Affects nfriedly bestzipSource CVE Database V5

0
CVSS 4.0 base score
8.6High
Exploitation

Not in CISA KEV, no exploitation reported

EPSS
0.2% chance of exploitation in 30 days – higher than 19% of CVEs
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

What to do

Affected software

ProductAffectedFixed in
nfriedlybestzipAffected
  • >=2.2.6 <2.2.7
  • >=3.0.2 <3.0.3
Fixed in
  • 2.2.7
  • 3.0.3
npmbestzippkg:npm/bestzipOther threatsAffected
  • >=2.2.6 <2.2.7
  • >=3.0.2 <3.0.3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade bestzip to version 2.2.7 or later, or 3.0.3 or later, where this vulnerability is fixed. No other mitigation is required as the fix is officially available.

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.

Summary

CVE-2026-87794 is an argument injection vulnerability in the nativeZip function of the nfriedly bestzip package. Versions 2.2.6 and 3.0.2 allow attackers to supply a malicious destination path combined with crafted source entries to inject arbitrary arguments to the Info-ZIP backend. This can result in execution of arbitrary commands with the privileges of the Node.js process running bestzip. The issue is resolved in versions 2.2.7 and 3.0.3.

Impact

Successful exploitation allows an attacker to execute arbitrary commands with the privileges of the Node.js process using bestzip. This can lead to unauthorized code execution and potentially compromise the host system or application environment.

References

Community reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses.

Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.