PT-2026-52897 · Undefined · Undefined

Published

2026-06-26

·

Updated

2026-06-26

·

CVE-2026-29509

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
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.

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-29509

Affected Products

Undefined