-------- Forwarded Message --------
Subject: [Security-announce][CVE-2026-107784] tarfile extraction filters accept drive-relative paths on Windows
Date:   Mon, 23 Nov 2026 12:40:09 +0000
From:   Stan Ulbrych via Security-announce <[email protected]>
Reply-To:       [email protected]
To:     [email protected]
CC:     Stan Ulbrych <[email protected]>

There is a MEDIUM severity vulnerability affecting CPython.

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.

Please see the linked CVE ID for the latest information on affected versions:

* https://www.cve.org/CVERecord?id=CVE-2026-107784
* https://github.com/python/cpython/pull/161334

_______________________________________________
Security-announce mailing list -- [email protected]
https://mail.python.org/mailman3//lists/security-announce.python.org

Reply via email to