Skip to content
Heist/ feed
MediumFix available

tarfile extraction filter bypass allows creation of directories outside the destination

Type: advisorySource: OSV1 source record

The tarfile module's tar and data extraction filters created directories outside the destination for members whose name leaves the destination and returns to it, such as ../evil/../dest/sub/file. The containment check used the resolved path, but intermediate directories were created from the name as given. Only empty directories are created outside the destination. Member contents are still extracted inside it. To return to the destination the member's name must contain the destination directory's own final component, so extraction into a secure randomised directory is not affected. This affects POSIX platforms only. On Windows, .. components are collapsed before the path reaches the filesystem, so the directories outside the destination are never created.

Announced Source revision 1
Original source ↗

BIT-libpython-2026-19672

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: osv:BIT-libpython-2026-19672

libpython

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
3.10.22

Source reference: /affected/0/ranges

3.11.17

Source reference: /affected/0/ranges

3.12.15

Source reference: /affected/0/ranges

3.13.16

Source reference: /affected/0/ranges

3.14.8

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "3.10.22"
          },
          {
            "introduced": "3.11.0"
          },
          {
            "fixed": "3.11.17"
          },
          {
            "introduced": "3.12.0"
          },
          {
            "fixed": "3.12.15"
          },
          {
            "introduced": "3.13.0"
          },
          {
            "fixed": "3.13.16"
          },
          {
            "introduced": "3.14.0"
          },
          {
            "fixed": "3.14.8"
          }
        ]
      }
    ],
    "package": {
      "name": "libpython",
      "purl": "pkg:bitnami/libpython",
      "ecosystem": "Bitnami"
    },
    "severity": [
      {
        "type": "CVSS_V4",
        "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
      }
    ],
    "database_specific": {
      "source": "https://github.com/bitnami/vulndb/tree/main/data/libpython/BIT-libpython-2026-19672.json"
    }
  }
]
Related CVEs
CVE-2026-19672

Source reference: /aliases

Publisher severity

medium

Source reference: /database_specific/severity

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

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