{"id":"CVE-2026-106057","aliases":["CVE-2026-106057"],"related":[],"kind":"vulnerability","state":"published","title":"patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt","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. Attackers can supply crafted filenames like report&calc.gz for single-file formats run with shell=True to execute commands with patool process privileges.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-07T11:59:37.019Z","modified":"2026-10-07T16:02:48.300Z","severity":{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.0.6","status":"affected"},{"type":"semver","version":"4.0.6","status":"unaffected"}],"vendor":"wummel","product":"patool","source":"cvelist"}],"references":[{"url":"https://github.com/wummel/patool/commit/592f35761f428afbcde2888ecd3cc4af43881aeb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wummel/patool","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wummel/patool/blob/4.0.5/patoolib/util.py#L110-L116","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/patool-before-4.0.6-os-command-injection-on-windows-via-shell-quote-nt","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Muhammad Sobirov"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-07T14:42:55.556Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-106057","url":"https://www.cve.org/CVERecord?id=CVE-2026-106057","licence":"CVE Terms of Use","modified":"2026-10-07T14:43:03.949Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-106057","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106057","licence":"Public domain","modified":"2026-10-07T16:02:48.300Z"}],"updatedAt":"2026-11-25T22:59:42.707Z","epss":{"score":0.00749,"percentile":0.56144,"date":"2026-12-01T12:00:22.000Z"}}