Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-106057— patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt

Quick assessment

Affected
wummel patool
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

patool 4.0.6 之前的版本在 Windows 平台上存在一个操作系统命令注入漏洞,原因是 shell_quote_nt 函数未能对 cmd.exe 的特殊字符或归档文件名中嵌入的双引号进行正确转义。攻击者可以提供精心构造的文件名(例如 report&calc.gz),在通过 shell=True 运行单文件格式时使用 patool 执行任意命令,从而以 patool 进程特权执行恶意操作。

CVSS 7.8 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-106057

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
patool before 4.0.6 OS Command Injection on Windows via shell_quote_nt
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
wummel patool 0 ~ 4.0.6 -

II. Public POCs for CVE-2026-106057

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-106057

请登录查看更多情报信息。

Other References for CVE-2026-106057 (4)

IV. Related Vulnerabilities

V. Comments for CVE-2026-106057

No comments yet


Leave a comment