CVE-2026-107784

tarfile extraction filters accept drive-relative paths on Windows

Medium published · updated

6.3
CVSS score out of 10 · NVD (python.org)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
cpython python software foundation 0 → <3.16.03.16.0 CVE.org

References