Skip to content
5.7 Medium

CVE-2026-87910 When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the…

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 and versions

Product Affected versions Fixed in
CPython 3.15 3.15.0a1 → < 3.15.0rc3 3.15.0rc3
CPython 3.14 3.14.0 → < 3.14.9 3.14.9
CPython 3.13 3.13.0 → < 3.13.16 3.13.16
CPython 3.12 3.12.0 → < 3.12.15 3.12.15
CPython 3.11 3.11.0 → < 3.11.17 3.11.17
CPython 3.10 earliest → < 3.10.22 3.10.22

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE