CVE-2026-106057
Published:October 07, 2026
Updated:October 12, 2026
patool before 4.0.6 contains an OS command injection vulnerability on Windows because shell_quote_nt fails to escape cmd.exe metacharacters or embedded double quotes in archive filenames. Attackers can supply crafted filenames like report&calc.gz for single-file formats run with shell=True to execute commands with patool process privileges.
Affected Packages
patool (CONDA):
Affected version(s) >=4.0.0 <4.0.6Fix Suggestion:
Update to version 4.0.6https://github.com/wummel/patool.git (GITHUB):
Affected version(s) >=4.0.0 <4.0.6Fix Suggestion:
Update to version 4.0.6patool (PYTHON):
Affected version(s) >=4.0.0 <4.0.6Fix Suggestion:
Update to version 4.0.6Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS
Base Score:
0.76