CVE-2026-106057
published high CVSS 4.0 · 8.5patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wummel | — | patool0 to < 4.0.6 (affected · semver) · 4.0.6 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wummel | patool | 0 to < 4.0.6 (affected · semver)4.0.6 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4- https://github.com/wummel/patool
- https://github.com/wummel/patool/blob/4.0.5/patoolib/util.py#L110-L116
- Patch Commit https://github.com/wummel/patool/commit/592f35761f428afbcde2888ecd3cc4af43881aeb
- VulnCheck Advisory: patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt https://www.vulncheck.com/advisories/patool-before-4.0.6-os-command-injection-on-windows-via-shell-quote-nt
Provider assertions
2VulnCheck · cna
patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2977a564014a4fe2b0073cda74c0f51012c7e79ee005de8b1c67734e2b41f877
- Ingested
- 07 Oct 2026, 15:05:12 UTC
- Source record
- Official CVE record