CVE-2026-106057
patool before 4.0.6 contains an OS command injection vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/wummel/patool
- github.com/wummel/patool/blob/4.0.5/patoolib/util.py#L110-L116
- github.com/wummel/patool/commit/592f35761f428afbcde2888ecd3cc4af43881aeb
- www.vulncheck.com/advisories/patool-before-4.0.6-os-command-injection-on-windows-via-shell
- nvd.nist.gov/vuln/detail/CVE-2026-106057
- cve.org/CVERecord?id=CVE-2026-106057
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.