MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-29509

Patool < 4.0.5 Path Traversal via safe_extract() Function

Not on CISA KEVCVSS 5.4 (v3.1)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)