Vulnerability · Published Oct 22, 2026 · Assigned by PSF
CVE-2026-114583tar filter allows writing outside destination via empty-named symlink
Medium 6.9
In plain English
A medium-severity path traversal in CPython from Python Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | python3 | 3.12.16-r0 | ALPINE-CVE-2026-114583 |
| Alpine:v3.22 | python3 | 3.12.16-r0 | ALPINE-CVE-2026-114583 |
| Alpine:v3.23 | python3 | 3.12.16-r0 | ALPINE-CVE-2026-114583 |
| Alpine:v3.24 | python3 | 3.14.10-r0 | ALPINE-CVE-2026-114583 |
| Debian:12 | jython | no fix listed | DEBIAN-CVE-2026-114583 |
| Debian:13 | jython | no fix listed | DEBIAN-CVE-2026-114583 |
| Debian:14 | jython | no fix listed | DEBIAN-CVE-2026-114583 |
| Debian:12 | pypy3 | no fix listed | DEBIAN-CVE-2026-114583 |
| Debian:13 | pypy3 | no fix listed | DEBIAN-CVE-2026-114583 |
| Debian:14 | pypy3 | no fix listed | DEBIAN-CVE-2026-114583 |
| Debian:12 | python3.11 | no fix listed | DEBIAN-CVE-2026-114583 |
| Debian:13 | python3.13 | no fix listed | DEBIAN-CVE-2026-114583 |
| Debian:14 | python3.14 | 3.14.9-1 | DEBIAN-CVE-2026-114583 |
| Debian:14 | python3.15 | 3.15.1-1 | DEBIAN-CVE-2026-114583 |
| Ubuntu:22.04:LTS | python3.10 | no fix listed | UBUNTU-CVE-2026-114583 |
| Ubuntu:24.04:LTS | python3.12 | no fix listed | UBUNTU-CVE-2026-114583 |
| Ubuntu:26.04:LTS | python3.14 | no fix listed | UBUNTU-CVE-2026-114583 |
| Ubuntu:26.10 | python3.14 | no fix listed | UBUNTU-CVE-2026-114583 |
| Ubuntu:26.10 | python3.15 | no fix listed | UBUNTU-CVE-2026-114583 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | 0 – before 3.11.183.12.0 – before 3.12.163.13.0 – before 3.13.183.14.0 – before 3.14.103.15.0 – before 3.15.23.16.0a1 – before 3.16.0 |
Weakness: CWE-22 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/python/cpython/pull/160098 patch
- https://github.com/python/cpython/issues/160097 issue-tracking
- https://mail.python.org/archives/list/security-announce@python.org/thread/43JOWPRAV5DI3VZ4FUEUAZOHCATXXOCK/
- https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b patch
- https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477 patch
- https://github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5 patch
- https://github.com/python/cpython/commit/04d8fca7da2cf3ebc0881fec8a53a1330c3b665d patch
- https://github.com/python/cpython/commit/bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2 patch
- https://github.com/python/cpython/commit/f4401da82e2baec5dab06cf070fbca77d53220f0 patch