Medium severity5.3NVD Advisory· Published Jun 30, 2026· Updated Aug 13, 2026
CVE-2026-4360
CVE-2026-4360
Description
In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
19cpe:2.3:a:python:python:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:*range: <3.1.5
- (no CPE)
- osv-coords17 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/python315&distro=openSUSE%20Tumbleweed
< 3.10.20-r10+ 16 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-8.1
- (no CPE)range: < 3.11.15-8.1
- (no CPE)range: < 3.12.13-8.1
- (no CPE)range: < 3.15.0~b4-1.1
Patches
Vulnerability mechanics
References
10- github.com/python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40cba0nvdPatch
- github.com/python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e4301nvdPatch
- github.com/python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a5e0anvdPatch
- github.com/python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf0b44nvdPatch
- github.com/python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8d15envdPatch
- github.com/python/cpython/issues/151987nvdIssue TrackingPatch
- github.com/python/cpython/pull/151988nvdIssue TrackingPatch
- mail.python.org/archives/list/[email protected]/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/nvdIssue TrackingVendor Advisory
- github.com/python/cpython/commit/0367912be336348b30572f8029cec4a282782d92nvd
- github.com/python/cpython/commit/cf23b9153181062150d061468b6d24af33fe214fnvd
News mentions
0No linked articles in our index yet.