Bug 2547610

Summary: CVE-2026-106057 patool: patool: Arbitrary command execution via crafted archive filenames on Windows [fedora-43]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: patoolAssignee: fedepell <fede>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 43CC: fede
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["cf878c49-f60d-4308-90a6-1c23e4afb6f6"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-09 13:11:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2547414    

Description Vladimir Vasilev 2026-10-07 18:24:10 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 fedepell 2026-10-08 03:36:55 UTC
Hmmmm... "on Windows" ? :-)

Comment 2 Vladimir Vasilev 2026-10-09 13:11:50 UTC
Good point :) I'm closing this. Apologies.