CVE-2026-106057 PUBLISHED

patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt

Assigner: VulnCheck
Reserved: 06.10.2026 Published: 07.10.2026 Updated: 07.10.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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.5

Product Status

Vendor wummel
Product patool
Versions Default: unaffected
  • affected from 0 to 4.0.6 (excl.)
  • Version 4.0.6 is unaffected

Credits

  • Muhammad Sobirov finder

References

Problem Types

  • Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE