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

- Severity: Medium 6.9 (CVSS:4.0, scored by PSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-10-22T20:57:36.019Z
- Modified: 2026-11-02T13:17:35.597Z
- Also known as: PSF-2026-45, BIT-LIBPYTHON-2026-114583, BIT-PYTHON-2026-114583, BIT-PYTHON-MIN-2026-114583
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

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

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.11.18; from 3.12.0 before 3.12.16; from 3.13.0 before 3.13.18; from 3.14.0 before 3.14.10; from 3.15.0 before 3.15.2; from 3.16.0a1 before 3.16.0
- https://github.com/python/cpython: before 0901ad4ffb22605f12b705d1c1197f0a01f0ba0b; before c6ada40177436e4e2533a7b252082b5f0c043477; before e7e0b3523ad6ba8472873dda594cf4021a16f8b5; before 04d8fca7da2cf3ebc0881fec8a53a1330c3b665d; before bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2; before f4401da82e2baec5dab06cf070fbca77d53220f0
- libpython (Bitnami): before 3.11.18; from 3.12.0 before 3.12.16; from 3.13.0 before 3.13.18; from 3.14.0 before 3.14.10; from 3.15.0 before 3.15.2
- python (Bitnami): before 3.11.18; from 3.12.0 before 3.12.16; from 3.13.0 before 3.13.18; from 3.14.0 before 3.14.10; from 3.15.0 before 3.15.2
- python-min (Bitnami): before 3.11.18; from 3.12.0 before 3.12.16; from 3.13.0 before 3.13.18; from 3.14.0 before 3.14.10; from 3.15.0 before 3.15.2

## Every score

- PSF: 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`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/python/cpython/pull/160098> (patch, web)
- <https://github.com/python/cpython/issues/160097> (issue-tracking, report, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/43JOWPRAV5DI3VZ4FUEUAZOHCATXXOCK/> (web)
- <https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b> (fix, patch, web)
- <https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477> (fix, patch, web)
- <https://github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5> (fix, patch, web)
- <https://github.com/python/cpython/commit/04d8fca7da2cf3ebc0881fec8a53a1330c3b665d> (fix, patch, web)
- <https://github.com/python/cpython/commit/bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2> (fix, patch, web)
- <https://github.com/python/cpython/commit/f4401da82e2baec5dab06cf070fbca77d53220f0> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-114583> (web)

## Sources

- CVE List: [CVE-2026-114583](https://www.cve.org/CVERecord?id=CVE-2026-114583), CVE Terms of Use, modified 2026-11-02
- Python Software Foundation: [PSF-2026-45](https://osv.dev/vulnerability/PSF-2026-45), CC-BY-4.0, modified 2026-10-29
- NVD: [CVE-2026-114583](https://nvd.nist.gov/vuln/detail/CVE-2026-114583), Public domain, modified 2026-11-02
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-114583](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-114583), Apache-2.0, modified 2026-10-30
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-114583](https://osv.dev/vulnerability/BIT-PYTHON-2026-114583), Apache-2.0, modified 2026-10-30
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-114583](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-114583), Apache-2.0, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-114583 · Whole record: https://cve.day/CVE-2026-114583.json · Rebuilt by cve.day 2026-11-25T22:59:46.840Z
