PT-2026-82213 · Pypi · Bestzip

·

CVE-2026-80427

·

Published

2026-08-26

·

Updated

2026-08-27

CVSS v4.0

8.6

High

VectorAV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions bestzip versions prior to 2.2.6 bestzip versions prior to 3.0.2
Description The software constructs the argument list for the system zip utility without separating options from operands. Because the destination archive path and caller-supplied source paths are passed to the child process without a -- delimiter, any source entry starting with a hyphen is interpreted as an option. Specifically, the zip utility accepts -T to test the archive and -TT to specify the command for that test. If a source list contains these entries and a command string, the utility executes that command through a shell. Consequently, an application passing untrusted file names or paths into the bestzip API allows for arbitrary command execution.
Recommendations Update to version 2.2.6 or later. Update to version 3.0.2 or later.

Exploit

Fix

Argument Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-80427
GHSA-P87M-9567-RGCC

Affected Products

Bestzip