CVE-2026-87910

tarfile hardlink fallback ignores custom extraction filter rejection via None

MEDIUM
5.7
CVSS Score
Published: September 11, 2026 at 05:27 PM UTC
Updated: October 22, 2026 at 01:16 AM UTC
1 product affected across 1 vendorPython

Using CPython by Python Software Foundation?

Get instant alerts when new vulnerabilities affect CPython - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.7
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Affected range stops below 3.10.22, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.11.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.12.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.13.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.15.0rc3, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.7MEDIUMPSF
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-22CWE-59

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card