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".
- CVSS
- 6.3Medium
- Chance of exploitation (EPSS)
- 1.2%
- Published
- Nov 23, 2026
- In the news
- 1 story
What to do
A moderate path traversal flaw in Python Software Foundation Cpython that can be attacked over the network without logging in. Exploit code is public, so patch it soon.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 3.16.0
Affected versions
- Python Software Foundation Cpython
- Before 3.16.0
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
Get alerts for these →Timeline 3
Latest change: googlesky/CVE-2026-107784: CPython before e4c751b: Windows tarfile extraction filters accept drive-relative names like C:foo — writes escape destination. Verbatim splitdrive guard: extracted on vuln, AbsolutePathError on fixed (Nov 24, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Nov 25, 2026
Mon, Nov 23, 2026
- ResearchCPython [CVE-2026-107784] tarfile extraction filters accept drive-relative paths on Windowsoss-security · 18:11 UTC
- CVECVE-2026-107784 published (CVSS 6.3)CVE Program · 16:17 UTC
Exploit code
Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.
References 4
- github.com /python/cpython/issues/161323
- github.com /python/cpython/pull/161334
- mail.python.org /archives/list/[email protected]/thread/ANUOLPP6MFFJ45RT6XG2BRGZPFHMGDAS/
- www.openwall.com /lists/oss-security/2026/11/23/18