ADVISORIES

Ubuntu CVE Tracker

UBUNTU-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
Ubuntu:20.04:LTSpypy3
All versions, no fix listed
Ubuntu:22.04:LTSpypy3
All versions, no fix listed
Ubuntu:24.04:LTSpypy3
All versions, no fix listed
Ubuntu:24.04:LTSpython3.12
All versions before 3.12.3-1ubuntu0.15 (fixed in 3.12.3-1ubuntu0.15)
Ubuntu:25.10pypy3
All versions, no fix listed
Ubuntu:25.10python3.13
All versions, no fix listed
Ubuntu:25.10python3.14
All versions, no fix listed
Ubuntu:26.10pypy3
All versions, no fix listed
Ubuntu:26.04:LTSpypy3
All versions, no fix listed
Ubuntu:26.04:LTSpython3.14
All versions before 3.14.4-1ubuntu0.1 (fixed in 3.14.4-1ubuntu0.1)

References