CVE-2026-7774
mediumpriority · track · 0EPSS 0.008 · 55 %ileDEEUUSEPSS · scored 2026-10-22
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (27)
Products and version ranges known to be affected.
advisories (5)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1796CPython: Schwachstelle ermöglicht Manipulation von DateienDeutsch2026-06-04csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in CPython ausnutzen, um Dateien zu manipulieren.
- BIT-libpython-2026-7774tarfile.data_filter path traversal bypass allows writing outside the extraction directory2026-06-08vendor · osvUS
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.
- BIT-python-2026-7774tarfile.data_filter path traversal bypass allows writing outside the extraction directory2026-06-08vendor · osvUS
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.
- BIT-python-min-2026-7774tarfile.data_filter path traversal bypass allows writing outside the extraction directory2026-06-08vendor · osvUS
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.
- PSF-2026-262026-06-04vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202606-1241cnnvd
- EUVD-2026-34282enisa_euvd
- GHSA-6cj7-v55x-8mwrenisa_euvd
- BIT-libpython-2026-7774osv
- BIT-python-2026-7774osv
- BIT-python-min-2026-7774osv
- PSF-2026-26osv
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2026/06/04/9cnnvd
- https://github.com/python/cpython/issues/149486cnnvd
- https://github.com/python/cpython/pull/149487cnnvd
- https://mail.python.org/archives/list/security-announce@python.org/thread/4FU62L2M6RMMHT2QPGQNPEHHUND7CEX5/cnnvd
- https://www.python.org/Patchcnnvd
- https://github.com/python/cpython/commit/0478bd83d82b255e0f29f613367a59d261e7eaa2enisa_euvd
- https://github.com/python/cpython/commit/0d28f5e46e151718972dfabd91205444d0037b6denisa_euvd
- https://github.com/python/cpython/commit/10a13bee3c24f9c62b602e696334ff2272a40efcenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan