ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-7774

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:13pypy3
All versions, no fix listed
Debian:14pypy3
All versions before 8.0.0+dfsg-1 (fixed in 8.0.0+dfsg-1)
Debian:13python3.13
All versions before 3.13.5-2+deb13u3 (fixed in 3.13.5-2+deb13u3)
Debian:14python3.14
All versions before 3.14.6-1 (fixed in 3.14.6-1)

References