Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.3CVE-2026-107784

CVE-2026-107784: tarfile extraction filters accept drive-relative paths on Windows

Python Software Foundation CPython

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-107784: medium-severity vulnerability (CVSS 6.3) in Python Software Foundation CPython.

What happened

Original description from the source: 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

Medium severity, CVSS 6.3.

Affected products and versions

Python Software Foundation CPython < 3.16.0

ProductVersionsFixed in
Python Software Foundation CPython< 3.16.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-22, CWE-59

Relevant change history

  1. Published

    Preliminary advisory published.