Security Flaw in Windows Tarfile Extraction for Python's CPython
CVE-2026-107784

6.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
23 November 2026

What is CVE-2026-107784?

A vulnerability exists in the tarfile extraction filters of Python's CPython on Windows. The filters failed to properly validate member names or link targets that contained a drive but lacked a root path, such as 'C:foo'. This oversight allowed for potential redirection of extracted files to the current working directory of the specified drive rather than the designated destination, creating a risk for unauthorized file access. The recent patch addresses this issue by introducing restrictions that reject these flawed member names and link targets, enhancing the security of the extraction process.

Affected Version(s)

CPython 0 < 3.16.0

References

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.