tarfile.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.
Metrics
Affected Vendors & Products
References
History
Fri, 23 Oct 2026 06:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Python
Python cpython Python Software Foundation Python Software Foundation cpython |
|
| Vendors & Products |
Python
Python cpython Python Software Foundation Python Software Foundation cpython |
Fri, 23 Oct 2026 04:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-22 |
Fri, 23 Oct 2026 00:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | tarfile.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. | |
| Title | tar filter allows writing outside destination via empty-named symlink | |
| References |
|
|
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: PSF
Published: 2026-10-22T20:57:36.019Z
Updated: 2026-10-23T00:36:58.472Z
Reserved: 2026-10-21T18:58:26.985Z
Link: CVE-2026-114583
No data.
Status : Awaiting Analysis
Published: 2026-10-22T21:17:16.543
Modified: 2026-10-23T16:44:17.950
Link: CVE-2026-114583
No data.