Skip to main content

Patool

3 CVEs product

Monthly

CVE-2026-106057 Oct 07, 11:59 HIGH PATCH This Week

OS command injection in patool's Windows argument-quoting routine lets a crafted archive filename (for example report&calc.gz) break out of quoting and run arbitrary commands through cmd.exe with the privileges of the patool process. All patool releases before 4.0.6 are affected, but only when patool runs on a Windows host and processes an attacker-supplied archive; the vulnerable path is the single-file-format extraction flow that invokes the shell, and exploitation requires the victim to actively run patool against the malicious file (passive user interaction). No public exploit code or confirmed in-the-wild activity has been identified at time of analysis, and the CVSS 4.0 base score of 8.5 (High) reflects total confidentiality, integrity and availability impact within the local execution context, tempered by the Windows-only, user-assisted attack preconditions. Authentication is not required to trigger the flaw (CVSS 4.0 vector PR:N).

Windows Command Injection Red Hat Patool
NVD GitHub
CVSS 4.0
8.5
EPSS
0.8%
CVE-2026-124584 Nov 09, 08:45 MEDIUM This Month

Symlink following in patool 4.1.0's gzip extraction handler allows a local, low-privileged attacker to influence symbolic links during extraction and affect file integrity and availability (CWE-61, CVSS 4.8 medium). The flaw is in extract_gzip in patoolib/fileutil.py and requires local access (AV:L/PR:L); confidentiality is not impacted and scope is unchanged. No public exploit was identified at the time of analysis, and CISA KEV does not list this CVE.

Information Disclosure Patool
NVD VulDB GitHub
CVSS 4.0
4.8
EPSS
0.1%
CVE-2026-29509 Jun 26, 19:31 MEDIUM PATCH This Month

Path traversal in Patool's safe_extract() function allows an attacker-controlled archive to write files to arbitrary locations on the filesystem when extracted by a victim running Patool before 4.0.5 on Python before 3.12. The flaw exists because the is_within_directory() helper in patoolib/programs/py_tarfile.py uses os.path.commonprefix() for character-level string prefix matching rather than path-component-level comparison, making it trivially bypassable with crafted member paths. No public exploit or CISA KEV listing has been identified at time of analysis, but the low-complexity exploitation conditions and complete integrity bypass make this a meaningful risk for affected deployments.

Python Path Traversal Patool
NVD GitHub VulDB
CVSS 4.0
5.3
EPSS
0.3%
EPSS 1% CVSS 8.5
HIGH PATCH This Week

OS command injection in patool's Windows argument-quoting routine lets a crafted archive filename (for example report&calc.gz) break out of quoting and run arbitrary commands through cmd.exe with the privileges of the patool process. All patool releases before 4.0.6 are affected, but only when patool runs on a Windows host and processes an attacker-supplied archive; the vulnerable path is the single-file-format extraction flow that invokes the shell, and exploitation requires the victim to actively run patool against the malicious file (passive user interaction). No public exploit code or confirmed in-the-wild activity has been identified at time of analysis, and the CVSS 4.0 base score of 8.5 (High) reflects total confidentiality, integrity and availability impact within the local execution context, tempered by the Windows-only, user-assisted attack preconditions. Authentication is not required to trigger the flaw (CVSS 4.0 vector PR:N).

Windows Command Injection Red Hat +1
NVD GitHub
EPSS 0% CVSS 4.8
MEDIUM This Month

Symlink following in patool 4.1.0's gzip extraction handler allows a local, low-privileged attacker to influence symbolic links during extraction and affect file integrity and availability (CWE-61, CVSS 4.8 medium). The flaw is in extract_gzip in patoolib/fileutil.py and requires local access (AV:L/PR:L); confidentiality is not impacted and scope is unchanged. No public exploit was identified at the time of analysis, and CISA KEV does not list this CVE.

Information Disclosure Patool
NVD VulDB GitHub
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

Path traversal in Patool's safe_extract() function allows an attacker-controlled archive to write files to arbitrary locations on the filesystem when extracted by a victim running Patool before 4.0.5 on Python before 3.12. The flaw exists because the is_within_directory() helper in patoolib/programs/py_tarfile.py uses os.path.commonprefix() for character-level string prefix matching rather than path-component-level comparison, making it trivially bypassable with crafted member paths. No public exploit or CISA KEV listing has been identified at time of analysis, but the low-complexity exploitation conditions and complete integrity bypass make this a meaningful risk for affected deployments.

Python Path Traversal Patool
NVD GitHub VulDB

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy