Skip to content
Heist/ feed
Medium

tarfile hardlink fallback ignores custom extraction filter rejection via None

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-87910

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-87910

CPython

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/python/cpython",
    "vendor": "Python Software Foundation",
    "modules": [
      "tarfile"
    ],
    "product": "CPython",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "3.10.22",
        "versionType": "python"
      },
      {
        "status": "affected",
        "version": "3.11.0",
        "lessThan": "3.11.17",
        "versionType": "python"
      },
      {
        "status": "affected",
        "version": "3.12.0",
        "lessThan": "3.12.15",
        "versionType": "python"
      },
      {
        "status": "affected",
        "version": "3.13.0",
        "lessThan": "3.13.16",
        "versionType": "python"
      },
      {
        "status": "affected",
        "version": "3.14.0",
        "lessThan": "3.14.9",
        "versionType": "python"
      },
      {
        "status": "affected",
        "version": "3.15.0a1",
        "lessThan": "3.15.0rc3",
        "versionType": "python"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-87910

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#50036 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement