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.
CVE-2026-29509
Score 5.4 from GitHub Security Advisory published 2026-06-26. a secondary CVSS source baseline 5.4; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.4
- EG Score
- 5.4(high)
- EPSS
- 20.4%
- KEV
- Not listed
Published
June 26, 2026
Last Modified
June 27, 2026
Advisory Details (3)
Auto-updated Jun 27, 2026Patool < 4.0.5 Path Traversal via safe_extract() Function | Advisories | VulnCheck
https://www.vulncheck.com/advisories/patool-path-traversal-via-safe-extract-functionRelease 4.0.5
Patch available: wummel/patool 4.0.5
https://github.com/wummel/patool/releases/tag/4.0.5patool/doc/changelog.txt at main · wummel/patool · GitHub
https://github.com/wummel/patool/blob/main/doc/changelog.txtVendor Advisories for CVE-2026-29509(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 19× in last 7d / 34× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 14:37 UTCEG score recompute
- 2026-07-06 14:37 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 12:44 UTCEG score recompute
- 2026-07-05 12:44 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 10:50 UTCEG score recompute
- 2026-07-04 10:50 UTCGHSA enrichment
- 2026-07-03 08:56 UTCEG score recompute
- 2026-07-03 08:56 UTCGHSA enrichment
- 2026-07-02 07:03 UTCEG score recompute
- 2026-07-02 07:02 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 05:09 UTCEG score recompute
- 2026-07-01 05:09 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 03:17 UTCEG score recompute
- 2026-06-30 03:16 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 01:24 UTCEG score recompute
- 2026-06-29 01:24 UTCGHSA enrichment
Show 9 moreShow fewer
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 23:31 UTCEG score recompute
- 2026-06-27 23:31 UTCGHSA enrichment
- 2026-06-27 05:08 UTCNVD updateCVSS v4 → 5.3
- 2026-06-26 21:38 UTCEG score recompute
- 2026-06-26 21:38 UTCGHSA enrichment
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-29509?
When was CVE-2026-29509 disclosed?
Is CVE-2026-29509 actively exploited?
What is the CVSS score of CVE-2026-29509?
How do I remediate CVE-2026-29509?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-29509
Is Your Infrastructure Affected by CVE-2026-29509?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.