https://www.cve.org/CVERecord?id=CVE-2026-7774 currently lists affected
versions as "from 0 before 3.15.0".
-------- Forwarded Message --------
Subject: [Security-announce][CVE-2026-7774] tarfile.data_filter path traversal
bypass allows writing outside the extraction directory
Date: Thu, 4 Jun 2026 15:12:43 +0100
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.
tarfile.data_filter could be bypassed using crafted link entries, including
symlinks with empty or directory-like names, to redirect later archive members
outside the intended extraction directory. This allowed a malicious tar archive
to cause tarfile.extractall() to write files outside the destination directory,
subject to the permissions of the extracting process.
Please see the linked CVE ID for the latest information on affected versions:
* https://www.cve.org/CVERecord?id=CVE-2026-7774
* https://github.com/python/cpython/pull/149487
_______________________________________________
Security-announce mailing list -- [email protected]
https://mail.python.org/mailman3//lists/security-announce.python.org