CVE-2026-29509
Last modified
CVE-2026-29509 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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.. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-29509?
How severe is CVE-2026-29509?
How do I fix CVE-2026-29509?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-2945A weakness has been identified in JeecgBoot 3.9.0. Affected …6.5
- CVE-2026-2946A security vulnerability has been detected in rymcu forest u…5.4
- CVE-2026-2947A vulnerability was detected in rymcu forest up to 0.0.5. Th…5.4
- CVE-2026-2948The Gutenverse – Ultimate WordPress FSE Blocks Addons & Ecos…6.4
- CVE-2026-2949The Xpro Addons — 140+ Widgets for Elementor plugin for Word…6.4
- CVE-2026-2950Impact: Lodash versions 4.17.23 and earlier are vulnerable …5.3
- CVE-2026-2951The Gutentor – Gutenberg Blocks – Page Builder for Gutenberg…5.4
- CVE-2026-29510Hereta ETH-IMC408M firmware version 1.0.15 and prior contain…5.4
- CVE-2026-29513Hereta ETH-IMC408M firmware version 1.0.15 and prior contain…5.4
- CVE-2026-29514NetBox versions 4.3.5 through 4.5.4 contain a remote code ex…8.8
- CVE-2026-29515MiCode FileExplorer contains an authentication bypass vulner…9.8
- CVE-2026-29516Buffalo TeraStation NAS TS5400R firmware version 4.02-0.06 a…6.9
Are you affected by CVE-2026-29509?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
