patool before 4.0.6 contains an OS command injection vulnerability on Windows because shell_quote_nt fails to escape cmd.exe metacharacters or embedded double quotes in archive filenames.
CVSS 4.0HIGH 8.5·Local·No auth·User interaction·EPSS 0.00749·Published 2026-10-07·Fixed in 4.0.6CWE-78
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.common…
CVSS 4.0MEDIUM 5.3·Network·No auth·User interaction·EPSS 0.00371·Published 2026-06-26·Fixed in 4.0.5CWE-22