CVE-2026-87910

published 11 Sep 2026 · updated 16 Nov 2026

tarfile hardlink fallback ignores custom extraction filter rejection via None

5.7MediumCVSS 5.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.10.22, 3.11.17, 3.12.15 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Software Foundation<3.10.22, >=3.11.0 <3.11.17, >=3.12.0 <3.12.15, >=3.13.0 <3.13.16, >=3.14.0 <3.14.9, >=3.15.0a1 <3.15.0rc33.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.9, 3.15.0rc3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-87910 severity on Zeptric[![CVE-2026-87910](https://zeptric.io/badge/cve/CVE-2026-87910.svg)](https://zeptric.io/cve/CVE-2026-87910)