CVE-2026-114583
tar filter allows writing outside destination via empty-named symlink
Mitigation
- Upgrade CPython to 3.16.0 or later.
Who should check
- Anyone running Python Software Foundation CPython < 3.11.18; >= 3.12.0, < 3.12.16; >= 3.13.0, < 3.13.18; >= 3.14.0, < 3.14.10; >= 3.15.0, < 3.15.2; >= 3.16.0a1, < 3.16.0
Vulnerability facts
- Affected
- Python Software Foundation CPython < 3.11.18; >= 3.12.0, < 3.12.16; >= 3.13.0, < 3.13.18; >= 3.14.0, < 3.14.10; >= 3.15.0, < 3.15.2; >= 3.16.0a1, < 3.16.0
- Fixed in
- Python Software Foundation CPython 3.11.18, Python Software Foundation CPython 3.12.16, Python Software Foundation CPython 3.13.18, Python Software Foundation CPython 3.14.10, Python Software Foundation CPython 3.15.2, Python Software Foundation CPython 3.16.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.9 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- CWE
- CWE-22
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Python Software Foundation CPython | < 3.11.18; >= 3.12.0, < 3.12.16; >= 3.13.0, < 3.13.18; >= 3.14.0, < 3.14.10; >= 3.15.0, < 3.15.2; >= 3.16.0a1, < 3.16.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-114583. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-114583.md Affected: Python Software Foundation CPython < 3.11.18; >= 3.12.0, < 3.12.16; >= 3.13.0, < 3.13.18; >= 3.14.0, < 3.14.10; >= 3.15.0, < 3.15.2; >= 3.16.0a1, < 3.16.0 Fixed in: Python Software Foundation CPython 3.11.18, Python Software Foundation CPython 3.12.16, Python Software Foundation CPython 3.13.18, Python Software Foundation CPython 3.14.10, Python Software Foundation CPython 3.15.2, Python Software Foundation CPython 3.16.0 Steps: 1. Search this machine and project for Python Software Foundation CPython: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://github.com/python/cpython/pull/160098
- https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b
- https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477
- https://github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5
- https://github.com/python/cpython/commit/04d8fca7da2cf3ebc0881fec8a53a1330c3b665d
- https://github.com/python/cpython/commit/bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2
- https://github.com/python/cpython/commit/f4401da82e2baec5dab06cf070fbca77d53220f0
FAQ
Is CVE-2026-114583 being exploited?
There is no confirmed exploitation: CVE-2026-114583 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-114583?
Medium: CVSS 6.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-114583?
Python Software Foundation CPython < 3.11.18; >= 3.12.0, < 3.12.16; >= 3.13.0, < 3.13.18; >= 3.14.0, < 3.14.10; >= 3.15.0, < 3.15.2; >= 3.16.0a1, < 3.16.0.
Is there a fix for CVE-2026-114583?
Yes. Fixed in Python Software Foundation CPython 3.11.18, Python Software Foundation CPython 3.12.16, Python Software Foundation CPython 3.13.18, Python Software Foundation CPython 3.14.10, Python Software Foundation CPython 3.15.2, Python Software Foundation CPython 3.16.0. Upgrade CPython to 3.16.0 or later.
How do I check if I'm affected by CVE-2026-114583?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.