# CVE-2026-114583: tar filter allows writing outside destination via empty-named symlink

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **CWE:** CWE-22
- **Published:** 2026-10-22T20:57:36.019Z
- **Modified:** 2026-11-02T13:17:35.597Z

## 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

## 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

- 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)

## Mitigation

- Upgrade CPython to 3.16.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- patch: <https://github.com/python/cpython/pull/160098>
- patch: <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>
- other: <https://github.com/python/cpython/issues/160097>
- other: <https://mail.python.org/archives/list/security-announce@python.org/thread/43JOWPRAV5DI3VZ4FUEUAZOHCATXXOCK/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-114583>

HTML: <https://flawdb.com/CVE-2026-114583> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-114583>
