Skip to main content

CVE-2026-106057: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in wummel patool

0
High
VulnerabilityCVE-2026-106057cvecve-2026-106057
Published: 10/07/2026 (10/07/2026, 11:59:37 UTC)
Source: CVE Database V5
Vendor/Project: wummel
Product: patool

Description

patool versions before 4.0.6 on Windows contain an OS command injection vulnerability due to improper escaping of cmd.exe metacharacters and embedded double quotes in archive filenames. This allows attackers to craft malicious filenames that execute arbitrary commands with the privileges of the patool process when single-file formats are run with shell=True.

CVSS v4.0

Score 8.5high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

wummel

patool

Affected versions
>=0 <4.0.6
patool
pkg:pypi/patool
Affected versions
>=0 <4.0.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/07/2026, 12:33:26 UTC

Technical Analysis

CVE-2026-106057 is an OS command injection vulnerability in patool prior to version 4.0.6 on Windows. The vulnerability arises because the shell_quote_nt function fails to properly escape cmd.exe metacharacters and embedded double quotes in archive filenames. As a result, attackers can supply specially crafted filenames (e.g., containing characters like '&') that, when processed by patool with shell=True for single-file formats, lead to execution of arbitrary commands with the same privileges as the patool process.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary OS commands on the affected Windows system with the privileges of the patool process. This can lead to unauthorized command execution, potentially compromising system integrity and confidentiality.

Mitigation Recommendations

Upgrade patool to version 4.0.6 or later, where this vulnerability is fixed. Patch status is confirmed by the version boundary indicating versions before 4.0.6 are affected. No vendor advisory content is provided, so check the vendor's official channels for the patch. Until patched, avoid processing untrusted archive filenames with patool on Windows, especially when shell=True is used.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-06T14:14:17.255Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac638b62cdf04f656488d06

Added to database: 10/07/2026, 12:19:02 UTC

Last enriched: 10/07/2026, 12:33:26 UTC

Last updated: 10/07/2026, 12:33:26 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses