{"id":"CVE-2026-106057","aliases":["EUVD-2026-94305","GHSA-73h5-w67h-9rfh","UBUNTU-CVE-2026-106057"],"status":"published","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\u0026calc.gz for single-file formats run with shell=True to execute commands with patool process privileges.","severity":{"version":"4.0","score":8.5,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00749,"percentile":0.55427,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-78"],"published":"2026-10-07T11:59:37Z","modified":"2026-10-28T02:31:05Z","affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"patool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7-1","1.8-1","1.10-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"patool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12-3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"patool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12-3","1.12-3build1","1.12-4","1.12-5"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"patool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12-5"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"patool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12-5","2.0.0-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"patool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.4-1","4.0.5-0.1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"patool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.0-1","4.0.3-1","4.0.4-1"]}],"products":[{"vendor":"wummel","product":"patool"}],"references":[{"url":"https://github.com/wummel/patool/commit/592f35761f428afbcde2888ecd3cc4af43881aeb","tags":["patch","fix","report"]},{"url":"https://github.com/wummel/patool","tags":["product","package","report"]},{"url":"https://github.com/wummel/patool/blob/4.0.5/patoolib/util.py#L110-L116","tags":["technical-description","article","report"]},{"url":"https://www.vulncheck.com/advisories/patool-before-4.0.6-os-command-injection-on-windows-via-shell-quote-nt","tags":["third-party-advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106057","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-73h5-w67h-9rfh"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106057.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-106057","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-106057","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-106057","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\u0026calc.gz for single-file formats run with shell=True to execute commands with patool process privileges.","status":"published","published":"2026-10-07T11:59:37.019Z","modified":"2026-10-07T14:43:03.949Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high","assessor":"cna"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:20:04.156238Z"}],"euvd":[{"id":"EUVD-2026-94305","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\u0026calc.gz for single-file formats run with shell=True to execute commands with patool process privileges.","status":"published","published":"2026-10-07T11:59:37Z","modified":"2026-10-07T14:43:03Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"}],"updated_at":"2026-11-02T17:27:35.509652Z"}],"ghsa":[{"id":"GHSA-73h5-w67h-9rfh","title":"patool before 4.0.6 contains an OS command injection vulnerability on Windows because...","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\u0026calc.gz for single-file formats run with shell=True to execute commands with patool process privileges.","status":"published","published":"2026-10-07T12:32:00Z","modified":"2026-10-07T12:32:06Z","cvss":[{"version":"4.0","score":8.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:12:54.084372Z"}],"nvd":[{"id":"CVE-2026-106057","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\u0026calc.gz for single-file formats run with shell=True to execute commands with patool process privileges.","status":"published","published":"2026-10-07T12:17:08.73Z","modified":"2026-10-07T16:02:48.3Z","cvss":[{"version":"4.0","score":8.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:12:54.809359Z"}],"osv":[{"id":"CVE-2026-106057","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\u0026calc.gz for single-file formats run with shell=True to execute commands with patool process privileges.","status":"published","published":"2026-10-07T11:59:37.019Z","modified":"2026-10-28T02:31:05.429468485Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:44:54.583213Z"},{"id":"UBUNTU-CVE-2026-106057","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\u0026calc.gz for single-file formats run with shell=True to execute commands with patool process privileges.","status":"published","published":"2026-10-07T12:17:00Z","modified":"2026-10-17T12:58:00.211108703Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.5,"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","level":"high"}],"updated_at":"2026-11-02T16:55:59.130573Z"}]}}
