Ubuntu CVE Tracker
UBUNTU-CVE-2026-11940
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python3.4 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python3.5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python3.5 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.6 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.7 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:20.04:LTS | pypy3 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions, no fix listed |
| Ubuntu:22.04:LTS | pypy3 | All versions, no fix listed |
| Ubuntu:22.04:LTS | python3.10 | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions, no fix listed |
| Ubuntu:24.04:LTS | pypy3 | All versions, no fix listed |
| Ubuntu:24.04:LTS | python3.12 | All versions, no fix listed |
| Ubuntu:25.10 | pypy3 | All versions, no fix listed |
| Ubuntu:25.10 | python3.13 | All versions, no fix listed |
| Ubuntu:25.10 | python3.14 | All versions, no fix listed |
| Ubuntu:26.10 | pypy3 | All versions, no fix listed |
| Ubuntu:26.10 | python3.14 | All versions, no fix listed |
| Ubuntu:26.04:LTS | pypy3 | All versions, no fix listed |
| Ubuntu:26.04:LTS | python3.14 | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2026-11940
- https://www.cve.org/CVERecord?id=CVE-2026-11940
- https://github.com/python/cpython/issues/151558
- https://github.com/python/cpython/pull/151559
- https://github.com/python/cpython/commit/672825e2f36a57e173959b0d9d409d4560dab8df
- https://github.com/python/cpython/commit/79c06bd5c6afa3c440d50faf7ee1b147c8832b4c
- https://github.com/python/cpython/commit/771d12dda5140313db0ac550292987975651bbde