Skip to content
OpenAdvisories
High · 7.8 CVE-2026-106057 EUVD-2026-94305GHSA-73h5-w67h-9rfh

patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt

Published Oct 7, 2026 · Updated Oct 7, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
wummel patool < 4.0.6 4.0.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 patool No fix yet —
Ubuntu 26.04 LTS patool No fix yet —
Ubuntu 24.04 LTS patool No fix yet —
Ubuntu 22.04 LTS patool No fix yet —
Ubuntu 20.04 LTS patool No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS patool No fix yet —
Ubuntu 16.04 LTS patool No fix yet —

References