CVE-2026-80427
bestzip builds the argument list for the system zip utility without separating options from operands. The destination archive path and the caller-supplied source paths are passed to the child process with no -- delimiter between them, so any source entry beginning with a hyphen is interpreted by zip as an option rather than a file name. zip accepts -T to test the finished archive and -TT to name the command used to perform that test, so a source list containing those two entries and a command string causes zip to run that command through a shell once the archive has been written. An application that passes a file name or path it received from an untrusted source into the bestzip API therefore executes a command of the supplier's choosing. Versions 2.2.6 and 3.0.2 add the delimiter.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.6
- CVSS vector
- 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
- EPSS probability
- 0.15%
- CWE
- CWE-88
- Published
- 2026-08-26
- Last modified
- 2026-08-29
Affected products
- nfriedly bestzip
- nfriedly bestzip
Weakness type
Related vulnerabilities
- CVE-2026-0304 — Cortex XDR Broker VM: Privilege Escalation Vulnerability
- CVE-2026-8044 — CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')...
- CVE-2026-87818 — GitPython 3.1.59 Local File Content Oracle via --no-index
- CVE-2026-87794 — bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination
- CVE-2026-78635 — Improper Input Validation in the Okta Privileged Access SSH Client URL Handler Argument
- CVE-2026-71377 — Command Argument Injection Vulnerability in Cosminexus Component Container
- CVE-2026-84256 — An argument parsing issue in OpenVPN 2.1_rc10 through 2.6.22 and 2.7_alpha1 through 2.7.6 on...
- CVE-2026-86060 — SSH session privilege manipulation via a crafted username in Mikrotik RouterOS