CVE-2026-80427
Received Received - Intake

bestzip Command Injection via Untrusted Archive Path

Vulnerability report for CVE-2026-80427, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-26

Last updated on: 2026-08-26

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-26
Last Modified
2026-08-26
Generated
2026-09-16
AI Q&A
2026-08-26
EPSS Evaluated
2026-09-14
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
bestzip bestzip to 2.2.6 (inc)
bestzip bestzip to 3.0.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability in bestzip allows command injection due to improper handling of file paths. When an application passes user-controlled file paths to bestzip, it constructs a zip command without separating options from operands. If a file path starts with a hyphen, zip interprets it as an option. Attackers can craft paths like -T and -TT to execute arbitrary commands via zip's testing mechanism.

Detection Guidance

Check if bestzip versions before 2.2.6 or 3.0.2 are installed. Inspect applications using bestzip for untrusted input handling. Look for unusual command execution logs or processes spawned by zip utilities.

Impact Analysis

This vulnerability can lead to full system compromise if an attacker provides malicious file paths. An attacker could execute arbitrary commands on your system with the privileges of the user running bestzip. This includes installing malware, stealing data, or escalating privileges.

Compliance Impact

This vulnerability can lead to unauthorized data access or exfiltration, violating GDPR's data protection requirements and HIPAA's security rules. Organizations using bestzip may face compliance violations, fines, or legal consequences if exploited.

Mitigation Strategies

Upgrade bestzip to versions 2.2.6 or 3.0.2 or later. Review and sanitize all inputs passed to bestzip APIs. Avoid using untrusted input as file paths in bestzip operations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-80427. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart