Read the docs

Tarfile extraction filters accept drive-relative paths on Windows

Priority LOW 30CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Python Software Foundation CPython from 0 before 3.16.0 on Windows has a flaw in the tarfile "tar" and "data" extraction filters, which do not reject member names or link targets that have a drive but no root, such as "C:foo" (CWE-22, CWE-59). A remote attacker without privileges or user interaction who can supply a crafted tar archive can write files outside the extraction destination or create a symbolic link that points outside it.

Written with Claude Haiku 5.5 from the sources below · 2026-11-26

Description from the CNA

On Windows, the tarfile "tar" and "data" extraction filters did not reject member names or link targets that have a drive but no root, such as "C:foo". When extracting to a relative destination, such a member was written to the current working directory of that drive instead of the destination, and a symbolic link with such a target pointed outside the destination. The filters now refuse these member names and link targets with AbsolutePathError and AbsoluteLinkError.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01198 68th percentileScored 2026-11-30
Fix Fixed CPython (Python Software Foundation): 3.16.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Python Software FoundationCPythonbefore 3.16.03.16.0Patch availableCNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*——python-pillow
  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions — — ·python-pillow

Remediation

Upgrade Python Software Foundation CPython to version 3.16.0 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-11-26

  • Fix · CNA CPython (Python Software Foundation) Fixed in 3.16.0

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 8 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux AI (RHEL AI) 3
  • Red Hat Hardened Images
  • Self-service automation portal 2

Timeline

  1. 2026-11-23 Threatist record created from CVE-2026-107784
  2. 2026-11-23 1 new reference · CNA
  3. 2026-11-23 1 new reference · CNA
  4. 2026-11-23 Alias added: GHSA-jgcj-v5rv-rwh7
  5. 2026-11-24 CISA SSVC decision points changed
  6. 2026-11-25 EPSS moved to the 50th–90th percentile
  7. 2026-11-26 Affected versions changed · Red Hat
  8. 2026-11-26 CVSS score added · Red Hat

References

  • TI-2024-07037 Quadratic complexity parsing cookies with backslashes CVSS 3.1HIGH 7.5
  • TI-2024-11791 Bypass extraction filter to modify file metadata outside extraction directory CVSS 3.1MEDIUM 5.3
  • TI-2024-00411 Quoted zip-bomb protection for zipfile CVSS 3.1MEDIUM 6.2
  • TI-2026-13296 `HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching CVSS 4.0MEDIUM 6.0
  • TI-2024-06422 Email header injection due to unquoted newlines CVSS 3.1MEDIUM 5.5
  • TI-2026-04606 Possible to hijack modules in current working directory CVSS 4.0MEDIUM 5.6
See all 89 →

Sources