{"id":"CVE-2026-106057","revision":"52533e8a854742cabac4946c4f2e89ca","records":[{"revision":"52533e8a854742cabac4946c4f2e89ca","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-106057","aliases":[],"title":"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.","state":0,"publishedAt":"2026-10-07T11:59:37.019+00:00","modifiedAt":"2026-10-07T14:43:03.949+00:00","affected":[{"ecosystem":"Vendor product","name":"patool","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"wummel\",\n                    \"product\": \"patool\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:pypi/patool\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"4.0.6\"\n                        },\n                        {\n                            \"version\": \"4.0.6\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":8.5,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/wummel/patool/commit/592f35761f428afbcde2888ecd3cc4af43881aeb","https://github.com/wummel/patool","https://github.com/wummel/patool/blob/4.0.5/patoolib/util.py#L110-L116","https://www.vulncheck.com/advisories/patool-before-4.0.6-os-command-injection-on-windows-via-shell-quote-nt"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-106057","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-106057","identifiers":["CVE-2026-106057"]},"retained":false,"historicalAffected":[]}],"coverage":[]}