Public vulnerability disclosure

CVE-2026-114583

tar filter allows writing outside destination via empty-named symlink

publishedCWE-22

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.

Technical severity6.9 mediumCVSS 4.0 · CNA: PSF
Published2026-10-22Source updated 2026-11-02
Collected2026-11-022 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
CPython
Python Software Foundation
≥ 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)
Other versions: unaffected
CNA: PSF

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
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:NCNA: PSF

Exploit evidence

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

References