CVE-2026-106057patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt
Updated under an hour ago ()
Does this affect you?
It affects wummel patool. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.76%, higher than 54% of scored CVEs.
Do this next
Free account, 1 product
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
- 7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-78
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.76% (percentile 54)
- Assigned by
- VulnCheck
- NVD analysis
- Deferred
- Record last updated
- Oct 7, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
wummel patool wummel:patool (from the name) | before 4.0.6; 4.0.6 not affected | CNA record |
References
- https://github.com/wummel/patool/commit/592f35761f428afbcde2888ecd3cc4af43881aebpatch
- https://github.com/wummel/patoolproduct
- https://github.com/wummel/patool/blob/4.0.5/patoolib/util.py#L110-L116technical-description
- https://www.vulncheck.com/advisories/patool-before-4.0.6-os-command-injection-on-windows-via-shell-quote-ntthird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.