Back
CVE-2026-7774
tarfile.data_filter path traversal bypass allows writing outside the extraction directory
Medium6.9EPSS 0.60%
- Published
- Updated
- Reserved
- Assigned by
- PSF
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| PSFCNA (assigner) | 4.0 | Medium6.9 | 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 |
| NVDNVD · Awaiting Analysis | 4.0 | Medium6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.60% · top 51% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Weakness
Affected products
Python Software Foundation · CPython
- affected < 3.10.21
- affected 3.11.0 – < 3.11.16
- affected 3.12.0 – < 3.12.14
- affected 3.13.0 – < 3.13.14
- affected 3.14.0 – < 3.14.6
- affected 3.15.0a1 – < 3.15.0b2
References (11)
- https://github.com/python/cpython/pull/149487 (opens in a new tab)patch
- https://github.com/python/cpython/issues/149486 (opens in a new tab)issue-tracking
- https://mail.python.org/archives/list/[email protected]/thread/4FU62L2M6RMMHT2QPGQNPEHHUND7CEX5/ (opens in a new tab)vendor-advisory
- https://github.com/python/cpython/commit/0478bd83d82b255e0f29f613367a59d261e7eaa2 (opens in a new tab)patch
- https://github.com/python/cpython/commit/0d28f5e46e151718972dfabd91205444d0037b6d (opens in a new tab)patch
- https://github.com/python/cpython/commit/578411982c16f753f4893532510099ef665117da (opens in a new tab)patch
- https://github.com/python/cpython/commit/5cf47a248c35c375d610b87b2f72fd1ed454b558 (opens in a new tab)patch
- https://github.com/python/cpython/commit/74cca9a92fb7d653e404843a56b8bdc7b0afdbbf (opens in a new tab)patch
- https://github.com/python/cpython/commit/10a13bee3c24f9c62b602e696334ff2272a40efc (opens in a new tab)patch
- https://github.com/python/cpython/commit/c063191cb7f9170f9565e305f8aa2b79ab2bf609 (opens in a new tab)patch
- http://www.openwall.com/lists/oss-security/2026/06/04/9 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-7774)Record last updated .