Security Flaw in Windows Tarfile Extraction for Python's CPython
CVE-2026-107784
6.3MEDIUM
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
