What’s Vulnerable › Vulnerabilities

CVE-2026-106057: patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt

Description

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 products

How to fix

Upgrade to a fixed version: wummel patool 4.0.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-106057 or the next vulnerability affects your stack