CVE-2026-7774
published medium CVSS 4.0 · 6.9tarfile.data_filter path traversal bypass allows writing outside the extraction directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Python Software Foundation | — | CPython0 to < 3.10.21 · 3.11.0 to < 3.11.16 · 3.12.0 to < 3.12.14 · 3.13.0 to < 3.13.14 · 3.14.0 to < 3.14.6 · 3.15.0a1 to < 3.15.0b2 · Other versions: unaffected | Affected | Not stated | PSF |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1910 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1929 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1953 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1954 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | python3 | Fixed | 3.14.7-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0aarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1995 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | v3.24 | python3 | Fixed | 3.14.7-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0aarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0ppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0ppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0s390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0s390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0x86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0x86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bits390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bits390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bitx86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bitx86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0s390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0x86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bits390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bitx86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3aarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3aarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3ppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3ppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3s390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3s390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3x86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3x86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseaarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseaarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-bases390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-bases390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-basex86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-basex86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesaarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesaarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursess390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursess390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesx86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesx86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develaarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develaarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-devels390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-devels390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develx86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develx86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkaarch64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkaarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkppc64le | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tks390x | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tks390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkx86_64 | Advisory build | 3.4.10-25.191.2 | SUSE-SU-2026:3601-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkx86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36aarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36ppc64le | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36s390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36x86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseaarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseppc64le | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-bases390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-basex86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develaarch64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develppc64le | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-devels390x | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develx86_64 | Advisory build | 3.6.15-116.1 | SUSE-SU-2026:3855-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0aarch64 | Advisory build | 3.10.20-150400.4.115.2 | SUSE-SU-2026:3530-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0aarch64 | Advisory build | 3.10.20-150400.4.118.1 | SUSE-SU-2026:3851-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0ppc64le | Advisory build | 3.10.20-150400.4.115.2 | SUSE-SU-2026:3530-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0ppc64le | Advisory build | 3.10.20-150400.4.118.1 | SUSE-SU-2026:3851-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0s390x | Advisory build | 3.10.20-150400.4.115.2 | SUSE-SU-2026:3530-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0s390x | Advisory build | 3.10.20-150400.4.118.1 | SUSE-SU-2026:3851-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0x86_64 | Advisory build | 3.10.20-150400.4.115.2 | SUSE-SU-2026:3530-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0x86_64 | Advisory build | 3.10.20-150400.4.118.1 | SUSE-SU-2026:3851-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_11-1_0aarch64 | Advisory build | 3.11.15-150400.9.94.2 | SUSE-SU-2026:3548-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_11-1_0ppc64le | Advisory build | 3.11.15-150400.9.94.2 | SUSE-SU-2026:3548-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_11-1_0s390x | Advisory build | 3.11.15-150400.9.94.2 | SUSE-SU-2026:3548-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_11-1_0x86_64 | Advisory build | 3.11.15-150400.9.94.2 | SUSE-SU-2026:3548-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_6m1_0s390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_6m1_0x86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3aarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3ppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3s390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3x86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-baseaarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-baseppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-bases390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-basex86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-cursesaarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-cursesppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-cursess390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-cursesx86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- PSF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Python Software Foundation | CPython | 0 to < 3.10.21 (affected · python)3.11.0 to < 3.11.16 (affected · python)3.12.0 to < 3.12.14 (affected · python)3.13.0 to < 3.13.14 (affected · python)3.14.0 to < 3.14.6 (affected · python)3.15.0a1 to < 3.15.0b2 (affected · python)Default: unaffected | PSF · cna |
Weaknesses
1- CWE-22
References
11- http://www.openwall.com/lists/oss-security/2026/06/04/9
- 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/
Provider assertions
3PSF · cna
tarfile.data_filter path traversal bypass allows writing outside the extraction directory
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7e8a123bbcba52831478fd686d7ebc38863f14137609bef12f91123781a161c3
- Ingested
- 23 Sep 2026, 09:34:17 UTC
- Source record
- Official CVE record