Skip to main content
CVE-2026-106057VulnerabilityPublished Updated

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

Affects patoolSource GCVE Database

0
Compare
Authoritative record:CVE-2026-106057· High 8.5

Not known to be exploited · CVSS 8.5 High.

Data as of 24 Nov 2026, 22:28 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10patoolpkg:deb/ubuntu/patool?arch=source&distro=stonkingOther threatsAffected
  • =4.0.4-1
  • =4.0.5-0.1
Fixed in–
Ubuntu 26.04 LTSpatoolpkg:deb/ubuntu/patool?arch=source&distro=resoluteOther threatsAffected
  • =4.0.0-1
  • =4.0.3-1
  • =4.0.4-1
Fixed in–
Ubuntu 24.04 LTSpatoolpkg:deb/ubuntu/patool?arch=source&distro=nobleOther threatsAffected
  • =1.12-5
  • =2.0.0-2
Fixed in–
Ubuntu 22.04 LTSpatoolpkg:deb/ubuntu/patool?arch=source&distro=jammyOther threatsAffected
  • =1.12-5
Fixed in–
Ubuntu 20.04 LTSpatoolpkg:deb/ubuntu/patool?arch=source&distro=focalOther threatsAffected
  • 1.12-3 – 1.12-5
4 affected builds
Fixed in–
Ubuntu 18.04 LTSpatoolpkg:deb/ubuntu/patool?arch=source&distro=bionicOther threatsAffected
  • =1.12-3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…