Vulnerability
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.
53 advisories report this vulnerability, across 12 ecosystems.
Advisories
-
ALAS2023-2026-1910
Amazon Linux 2023 - ALAS2023-2026-1910: Important priority package update for python3.13
-
ALAS2023-2026-1929
Amazon Linux 2023 - ALAS2023-2026-1929: Important priority package update for python3.14
-
ALAS2023-2026-1953
Amazon Linux 2023 - ALAS2023-2026-1953: Important priority package update for python3.11
-
ALAS2023-2026-1954
Amazon Linux 2023 - ALAS2023-2026-1954: Important priority package update for python3.12
-
ALAS2023-2026-1995
Amazon Linux 2023 - ALAS2023-2026-1995: Important priority package update for python3.9
-
ALPINE-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…
- ALPINE-EDGE-CVE-2026-7774
-
AZL-89472
CVE-2026-7774 affecting package python3 for versions less than 3.12.9-13
- CGA-2hr7-vw6r-h3gv
- CGA-56jr-xmq9-2hhw
- CGA-9mgv-r5gf-82qf
- CGA-9p8r-m77c-89wx
- CGA-9rgf-jgjj-f22v
- CGA-h6v3-9x58-7r4w
- CGA-jm2h-44cv-mmv5
- CGA-rjp8-h8gw-84wj
- CGA-wr5v-vw9q-j67v
- CGA-x64c-h9vj-q7fc
-
CNA-CVE-2026-7774
tarfile.data_filter path traversal bypass allows writing outside the extraction directory
-
DEBIAN-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…
-
OESA-2026-2694
python3 security update
-
OESA-2026-2695
python3 security update
-
RHVEX-CVE-2026-7774
python: CPython: Python tarfile: Arbitrary file write via crafted link entries
-
SUSE-SU-2026:23191-1
Security update for python311
-
SUSE-SU-2026:23212-1
Security update for python311
-
SUSE-SU-2026:23743-1
Security update for python311
-
SUSE-SU-2026:3530-1
Security update for python310
-
SUSE-SU-2026:3548-1
Security update for python311
-
SUSE-SU-2026:3560-1
Security update for python311
-
SUSE-SU-2026:3569-1
Security update for python312
-
SUSE-SU-2026:3601-1
Security update for python3
-
SUSE-SU-2026:3649-1
Security update for python313
-
SUSE-SU-2026:3851-1
Security update for python310
-
SUSE-SU-2026:3855-1
Security update for python36
-
SUSE-SU-2026:4174-1
Security update for python39.SUSE_SLE-15-SP3_Update
-
SUSE-SU-2026:4534-1
Security update for python312
-
SUSE-SU-2026:4580-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4581-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4582-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4583-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4584-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4585-1
Security update 5.2.1 for Multi-Linux Manager Client Tools
-
SUSE-SU-2026:4744-1
Security update for python3, python3-base, python3-doc
-
SUSE-SU-2026:4754-1
Security update for python3
-
SUSEVEX-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…
-
UBUNTU-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…
-
USN-8509-1
python3.10, python3.12, python3.14 vulnerabilities
-
openSUSE-SU-2026:11101-1
python315-3.15.0~b2-1.1 on GA media
-
openSUSE-SU-2026:11181-1
python314-3.14.6-1.1 on GA media
-
openSUSE-SU-2026:11426-1
python310-3.10.20-8.1 on GA media
-
openSUSE-SU-2026:11427-1
python311-3.11.15-8.1 on GA media
-
openSUSE-SU-2026:11428-1
python312-3.12.13-8.1 on GA media
-
openSUSE-SU-2026:11534-1
python313-3.13.14-2.1 on GA media
References
- https://github.com/python/cpython/commit/0478bd83d82b255e0f29f613367a59d261e7eaa2
- https://github.com/python/cpython/commit/0d28f5e46e151718972dfabd91205444d0037b6d
- https://github.com/python/cpython/commit/10a13bee3c24f9c62b602e696334ff2272a40efc
- https://github.com/python/cpython/commit/578411982c16f753f4893532510099ef665117da
- https://github.com/python/cpython/commit/5cf47a248c35c375d610b87b2f72fd1ed454b558
- https://github.com/python/cpython/commit/74cca9a92fb7d653e404843a56b8bdc7b0afdbbf
- https://github.com/python/cpython/commit/c063191cb7f9170f9565e305f8aa2b79ab2bf609
- https://github.com/python/cpython/issues/149486
- https://github.com/python/cpython/pull/149487
- https://mail.python.org/archives/list/[email protected]/thread/4FU62L2M6RMMHT2QPGQNPEHHUND7CEX5/
- http://www.openwall.com/lists/oss-security/2026/06/04/9