High severityNVD Advisory· Published Jun 23, 2026· Updated Aug 6, 2026
CVE-2026-11940
CVE-2026-11940
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
20- osv-coords19 versionspkg:apk/chainguard/python-3.10pkg:apk/chainguard/python-3.11pkg:apk/chainguard/python-3.12pkg:apk/chainguard/python-3.13pkg:apk/chainguard/python-3.14pkg:apk/wolfi/python-3.10pkg:apk/wolfi/python-3.11pkg:apk/wolfi/python-3.12pkg:apk/wolfi/python-3.13pkg:apk/wolfi/python-3.14pkg:bitnami/libpythonpkg:bitnami/pythonpkg:bitnami/python-minpkg:rpm/opensuse/python310&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python311&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python312&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python313&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python314&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python315&distro=openSUSE%20Tumbleweed
< 3.10.20-r10+ 18 more
- (no CPE)range: < 3.10.20-r10
- (no CPE)range: < 3.11.15-r8
- (no CPE)range: < 3.12.13-r10
- (no CPE)range: < 3.13.14-r2
- (no CPE)range: < 3.14.6-r3
- (no CPE)range: < 3.10.20-r10
- (no CPE)range: < 3.11.15-r8
- (no CPE)range: < 3.12.13-r10
- (no CPE)range: < 3.13.14-r2
- (no CPE)range: < 3.14.6-r3
- (no CPE)range: >= 0
- (no CPE)range: >= 0
- (no CPE)range: >= 0
- (no CPE)range: < 3.10.20-7.1
- (no CPE)range: < 3.11.15-8.1
- (no CPE)range: < 3.12.13-8.1
- (no CPE)range: < 3.13.14-1.1
- (no CPE)range: < 3.14.6-2.1
- (no CPE)range: < 3.15.0~b3-2.1
Patches
Vulnerability mechanics
References
9- github.com/python/cpython/commit/27dd970bf6b17ebca7c8ed486a40ab043ed7af8fnvd
- github.com/python/cpython/commit/672825e2f36a57e173959b0d9d409d4560dab8dfnvd
- github.com/python/cpython/commit/771d12dda5140313db0ac550292987975651bbdenvd
- github.com/python/cpython/commit/79c06bd5c6afa3c440d50faf7ee1b147c8832b4cnvd
- github.com/python/cpython/commit/be13e86f6b9788a6f4d0419dffef72cbae5865c9nvd
- github.com/python/cpython/commit/e5fdbd8d5aa923bd9111b112ea73bd6ec7c47877nvd
- github.com/python/cpython/issues/151558nvd
- github.com/python/cpython/pull/151559nvd
- mail.python.org/archives/list/[email protected]/thread/LD6QIISNQFQYOIEPJNEUIPV7S3V76FZH/nvd
News mentions
0No linked articles in our index yet.