All vulnerabilities
CVE-2026-106057

patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt

wummel patool
CVSS
8.5High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.76%Chance of exploitation activity in the next 30 days, higher than 54% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in4.0.6Fixed versionCVE List
Published7 Oct 2026Updated 7 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 2

  • patoolaffected: all versions before 4.0.6CVE List
  • patoolunaffected: 4.0.6CVE List

References 4