On Windows, the tarfile "tar" and "data" extraction filters did not reject member names or link...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Python Software FoundationCPython |
< 3.16.0→ 3.16.0 |
3.16.0 |
Original description The description as published by 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.
Source: Python security-announce NVD GitHub Advisory
References
- issue github.com
- PYTHON-SECURITY-ANNOUNCE [Security-announce][CVE-2026-107784] tarfile extraction filters accept drive-relative paths on Windows
- REDHAT Red Hat
- web cna@python.org
- web cna@python.org
- web cna@python.org
- web openwall.com
- web nvd.nist.gov
- web mail.python.org
- web github.com