CVE-2026-29509

patool: Patool before 4.0.5 contains a path traversal vulnerability in the safe_extract() function in patoolib/programs/py_ta...

CVE-2026-29509 is fixed in patool on 1 platform, first by DEBIAN-CVE-2026-29509, released June 28, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
No vendor severity
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0037
31st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
patool · Debian 13.5 (trixie) 4.0.0-1+deb13u1 DEBIAN-CVE-2026-29509 Jun 28, 2026
patool · Debian 14 4.0.5-0.1 DEBIAN-CVE-2026-29509 Jun 28, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.