CVE-2026-106057 patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt
HighCVSS 8.5
EPSS 0.75%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Ubuntu
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.
Upgrade path
5 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/patool(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/patool(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/patool(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/patool(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| pypi patool | < 4.0.6 | 4.0.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi patool | < 4.0.6 | 4.0.6 |
| ubuntu/patool(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/patool(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/patool(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/patool(Ubuntu:26.10) | All versions | No fix listed |
References
- Patch Commit patch
- github.com product
- github.com technical-description
- VulnCheck Advisory: patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt third-party-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2547414 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-94305 third-party-advisory