Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/wummel/patool
- https://github.com/wummel/patool/blob/4.0.5/patoolib/util.py#L110-L116
- https://github.com/wummel/patool/commit/592f35761f428afbcde2888ecd3cc4af43881aeb
- https://www.vulncheck.com/advisories/patool-before-4.0.6-os-command-injection-on
FAQ
What is CVE-2026-106057?
CVE-2026-106057 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ca...
How severe is CVE-2026-106057?
CVE-2026-106057 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-106057?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.