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.008 (54.2th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 54.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-7774: held from 0.006 to 0.008.

EPSS over last 30 days · oldest: 0.006 · newest: 0.008 · change: +0.002

Affected products

Weakness classification (CWE)

References