CVE-2026-106057 patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt
Attackers can execute arbitrary commands on Windows by providing crafted archive filenames to patool due to improper shell quoting.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-106057?
CVE-2026-106057 is a high-severity command injection vulnerability in wummel patool, published on 7 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-106057?
How do I fix CVE-2026-106057?
No fix has been published for CVE-2026-106057 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-106057 being exploited?
There is no known exploitation of CVE-2026-106057 in the wild and no public exploit code.
Sources
Also known as GHSA-73h5-w67h-9rfh, UBUNTU-CVE-2026-106057.