CVE-2026-114583

NameCVE-2026-114583
Descriptiontarfile.tar_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() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process. This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jython (PTS)forky, sid, bookworm, trixie2.7.3+repack1-1vulnerable
pypy3 (PTS)bookworm7.3.11+dfsg-2+deb12u3vulnerable
trixie7.3.19+dfsg-2vulnerable
forky, sid8.0.1+dfsg-1vulnerable
python3.11 (PTS)bookworm3.11.2-6+deb12u8vulnerable
bookworm (security)3.11.2-6+deb12u9vulnerable
python3.13 (PTS)trixie3.13.5-2+deb13u5vulnerable
forky, sid3.13.15-1vulnerable
python3.14 (PTS)forky, sid3.14.8-1vulnerable
python3.15 (PTS)forky, sid3.15.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jythonsource(unstable)(unfixed)
pypy3source(unstable)(unfixed)
python3.11source(unstable)(unfixed)
python3.13source(unstable)(unfixed)
python3.14source(unstable)3.14.9-1
python3.15source(unstable)3.15.1-1

Notes

[trixie] - python3.13 <no-dsa> (Minor issue)
[trixie] - pypy3 <no-dsa> (Minor issue)
https://github.com/python/cpython/issues/160097
https://github.com/python/cpython/pull/160098
https://github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5 (main)
https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477 (3.15 branch)
https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b (3.14 branch)
https://github.com/python/cpython/pull/160341 (3.13)
https://github.com/python/cpython/pull/160343 (3.11)

Search for package or bug name: Reporting problems