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

Status: published. Published: 2026-10-22. Updated: 2026-11-02.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Python Software Foundation / CPython: ≥ 0; < 3.11.18 (affected, python); ≥ 3.12.0; < 3.12.16 (affected, python); ≥ 3.13.0; < 3.13.18 (affected, python); ≥ 3.14.0; < 3.14.10 (affected, python); ≥ 3.15.0; < 3.15.2 (affected, python); ≥ 3.16.0a1; < 3.16.0 (affected, python). Source: CNA: PSF

## Severity and prioritization

- CVSS 4.0: 6.9 (medium); 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; source: CNA: PSF

- CISA KEV: No listing in collected sources

- EPSS: 0.23% as of 2026-11-01; percentile 13.50%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-22

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/python/cpython/pull/160098 (CNA: PSF; patch)

- https://github.com/python/cpython/issues/160097 (CNA: PSF; issue-tracking)

- https://mail.python.org/archives/list/security-announce@python.org/thread/43JOWPRAV5DI3VZ4FUEUAZOHCATXXOCK/ (CNA: PSF)

- https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b (CNA: PSF; patch)

- https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477 (CNA: PSF; patch)

- https://github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5 (CNA: PSF; patch)

- https://github.com/python/cpython/commit/04d8fca7da2cf3ebc0881fec8a53a1330c3b665d (CNA: PSF; patch)

- https://github.com/python/cpython/commit/bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2 (CNA: PSF; patch)

- https://github.com/python/cpython/commit/f4401da82e2baec5dab06cf070fbca77d53220f0 (CNA: PSF; patch)

## Provenance

- CNA: PSF: https://www.cve.org/CVERecord?id=CVE-2026-114583; retrieved 2026-11-02; source updated 2026-11-02

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-114583; retrieved 2026-11-02; source updated Not reported

Revision: 906c7d8b41186ef6cf84de758efec184cf37a01ddcc3ea0f2a9aa8b14a4643f8

Canonical: https://y2.dev/cve/CVE-2026-114583