-------- Forwarded Message --------
Subject: [Security-announce][CVE-2026-114583] tarfile.tar_filter path traversal bypass allows writing outside the extraction directory
Date:   Thu, 22 Oct 2026 21:35:28 +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.tar_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() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process.

This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.

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

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

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

Reply via email to