Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <307ac224-eea3-4fe5-b3d9-59abe951adb3@oracle.com>
Date: Thu, 4 Jun 2026 09:06:45 -0700
From: Alan Coopersmith <alan.coopersmith@...cle.com>
To: oss-security@...ts.openwall.com
Subject: [CVE-2026-7774] Cpython: tarfile.data_filter path
 traversal bypass allows writing outside the extraction directory

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 <security-announce@...hon.org>
Reply-To: 	security-sig@...hon.org
To: 	security-announce@...hon.org
CC: 	Stan Ulbrych <stanulbrych@...il.com>



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 -- security-announce@...hon.org
https://mail.python.org/mailman3//lists/security-announce.python.org

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.