5.4
MEDIUM CVSS 3.1
CVE-2026-29509
Patool < 4.0.5 Path Traversal via safe_extract() Function
Description

Patool before 4.0.5 contains a path traversal vulnerability in the safe_extract() function in patoolib/programs/py_tarfile.py when running on Python before 3.12, where the is_within_directory() helper uses os.path.commonprefix() for character-level string comparison instead of path-level comparison, allowing a crafted archive member path to bypass the containment check. Attackers can supply a malicious archive with specially crafted member paths to write arbitrary files.

INFO

Published Date :

June 26, 2026, 7:31 p.m.

Last Modified :

June 26, 2026, 7:31 p.m.

Remotely Exploit :

Yes !

Source :

VulnCheck
Affected Products

The following products are affected by CVE-2026-29509 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 4.0 MEDIUM 83251b91-4cc7-4094-a5c7-464a1b83ea10
Solution
Update Patool to version 4.0.5 or later to fix path traversal.
  • Update Patool to 4.0.5 or later.
  • Ensure Python version is 3.12 or higher.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-29509 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.