Skip to content
CVE PROGRAM SOURCE RECORD5.7 Medium

CVE-2026-87910

tarfile hardlink fallback ignores custom extraction filter rejection via None

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.10.22affected
  • 3.11.0 to < 3.11.17affected
  • 3.12.0 to < 3.12.15affected
  • 3.13.0 to < 3.13.16affected
  • 3.14.0 to < 3.14.9affected
  • 3.15.0a1 to < 3.15.0rc3affected

References