tarfile extraction filters accept drive-relative paths on Windows
- CVE-2026-107784
- GHSA-jgcj-v5rv-rwh7
- EUVD-2026-133109
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.
Text from the CVE.org record.
Recommendation
Python Software Foundation CPython
- If you run a version before 3.16.0update to 3.16.0 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Python Software Foundation CPython
Affected versions Fixed in before 3.16.0 3.16.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.