{"id":"CVE-2026-106057","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-106057","summary":"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.…","details":"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.","published":"2026-10-07T12:17:08.730","modified":"2026-10-07T12:17:08.730","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/wummel/patool/commit/592f35761f428afbcde2888ecd3cc4af43881aeb","label":"wummel/patool@592f357"},"references":[{"type":"WEB","url":"https://github.com/wummel/patool"},{"type":"WEB","url":"https://github.com/wummel/patool/blob/4.0.5/patoolib/util.py#L110-L116"},{"type":"WEB","url":"https://github.com/wummel/patool/commit/592f35761f428afbcde2888ecd3cc4af43881aeb"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/patool-before-4.0.6-os-command-injection-on-windows-via-shell-quote-nt"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-10-07T12:17:08.730"}}