CVE-2026-4360
mediumpriority · track · 21EPSS 0.005 · 41 %ileEUUSEPSS · scored 2026-10-23
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 0.4–5.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (22)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- BIT-libpython-2026-4360Tarfile.extract() doesn't fully respect filter parameter2026-07-08vendor · osvUS
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.
- BIT-python-2026-4360Tarfile.extract() doesn't fully respect filter parameter2026-07-08vendor · osvUS
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.
- BIT-python-min-2026-4360Tarfile.extract() doesn't fully respect filter parameter2026-07-08vendor · osvUS
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.
- PSF-2026-322026-06-30vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-2026-27707467cnnvd
- EUVD-2026-40336enisa_euvd
- GHSA-gf2w-jqmq-fcm8enisa_euvd
- BIT-libpython-2026-4360osv
- BIT-python-2026-4360osv
- BIT-python-min-2026-4360osv
- PSF-2026-32osv
sources
Which sources assert this record, and when.
references (27)
External citations — patches, advisories, analysis.
- https://github.com/python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40cba0cnnvd
- https://github.com/python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e4301cnnvd
- https://github.com/python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a5e0acnnvd
- https://github.com/python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8d15ecnnvd
- https://github.com/python/cpython/issues/151987cnnvd
- https://github.com/python/cpython/pull/151988cnnvd
- https://mail.python.org/archives/list/security-announce@python.org/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/cnnvd
- https://github.com/python/cpython/commit/0367912be336348b30572f8029cec4a282782d92enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan