Path Traversal in Python Software Foundation Cpython

CVE-2026-7774

tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

EPSS exploit prediction

EPSS 0.006, 49.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

References