CVE-2026-87910
When tarfile extracts a link on a system that doesn't support …
When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the location of the link. For one of the calls, the return value was ignored. Instead, the member should be skipped if either call returns None.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/python/cpython/issues/157265
- github.com/python/cpython/pull/157266
- mail.python.org/archives/list/[email protected]/thread/57TBTLL2W6APMZR3A25B2YV7
- www.openwall.com/lists/oss-security/2026/09/11/8
- github.com/python/cpython/commit/d9565e54b1fc6d63c5be9afd58114499128fa57b
- github.com/python/cpython/commit/fb2f0bbc3b35264f09cc2cb2934b7987527a6bc2
- github.com/python/cpython/commit/9c17bace90f88dfba6d0e2fe23c8e7ae35f83955
- github.com/python/cpython/commit/764fd0af8d9e19d3684a58d2e58bf770f0605036
- nvd.nist.gov/vuln/detail/CVE-2026-87910
- cve.org/CVERecord?id=CVE-2026-87910
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.