Skip to content
CVE PROGRAM SOURCE RECORD8.5 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

wummel patool

Default version status: unaffected

  • 0 to < 4.0.6affected
  • 4.0.6unaffected
pkg:pypi/patool

References