5.7Mittel

CVE-2026-87910tarfile hardlink fallback ignores custom extraction filter rejection via None

Python Software Foundation CPython Veröffentlicht: (vor 2 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-22CWE-59

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Python Software Foundation CPython < 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.0rc3

Referenzen und Patches