Read the docs

OS command injection in patool on Windows via archive filenames

Priority MEDIUM 40CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

patool before 4.0.6 contains an OS command injection flaw on Windows (CWE-78) because shell_quote_nt does not escape cmd.exe metacharacters or embedded double quotes in archive filenames. An attacker who can supply a crafted archive filename can run commands with the privileges of the patool process when single-file formats are handled through a shell.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00749 55th percentileScored 2026-11-07
Fix Fixed patool (wummel): 4.0.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
wummelpatoolbefore 4.0.64.0.6Patch availableCNA
  • patool Vendorwummel Affected before 4.0.6 Fixed in 4.0.6 Patch available CNA

Remediation

Upgrade patool to version 4.0.6, which fixes this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA patool (wummel) Fixed in 4.0.6

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-07 Threatist record created from CVE-2026-106057
  2. 2026-10-07 Alias added: GHSA-73h5-w67h-9rfh
  3. 2026-10-07 CISA SSVC decision points changed
  4. 2026-10-07 Priority changed: MEDIUM → LOW
  5. 2026-10-08 Affected versions changed · Red Hat
  6. 2026-10-08 CVSS score added · Red Hat
  7. 2026-10-09 Priority changed: LOW → MEDIUM

References

  • TI-2026-23327 Patool < 4.0.5 Path Traversal via safe_extract() Function CVSS 4.0MEDIUM 5.3

Sources