CVE-2026-11940
HIGHCVSS v4.0: 7.8
Source data as of:
At a glance
- Severity
- HIGH
- CVSS
- 7.8 v4.0 · NVD
- EPSS
- EPSS not provided by FIRST.org for this CVE
- CISA KEV
- No
- Type
- Path Traversal · NVD CWE
- Attack conditions (CVSS vector)
- NetworkNo privilegesNo user interaction · Source: NVD Vector
- Published
- 2026-06-23 · Modified: 2026-06-23
- References
- Jump to references (7)
CVSS / EPSS / KEV
Source — CVSS: NVD · EPSS: FIRST.org · KEV: CISA. Data & Sources
Description
tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name than the hardlink itself. The extraction fallback validated the symlink at it's archived location but recreated it at the hardlink's shallower path, letting a relative target the filter judged contained escape the destination directory. This allowed a malicious tar archive to create a symlink pointing outside the destination, enabling out-of-destination file reads or writes. This was an incomplete fix of CVE-2025-4330.
References
Reference URLs as listed by NVD, grouped by a mechanical match on the link's host/pattern. Labels describe the link type only.
- Patch https://github.com/python/cpython/commit/27dd970bf6b17ebca7c8ed486a40ab043ed7af8f
- Patch https://github.com/python/cpython/commit/672825e2f36a57e173959b0d9d409d4560dab8df
- Patch https://github.com/python/cpython/commit/771d12dda5140313db0ac550292987975651bbde
- Patch https://github.com/python/cpython/commit/79c06bd5c6afa3c440d50faf7ee1b147c8832b4c
- Reference https://github.com/python/cpython/issues/151558
- Reference https://github.com/python/cpython/pull/151559
- Reference https://mail.python.org/archives/list/[email protected]/thread/LD6QIISNQFQYOIEP…