Bug 2566964

Summary: CVE-2026-114583 python3.16: python: Arbitrary file write via tarfile extraction filter bypass [fedora-44]
Product: [Fedora] Fedora Reporter: lcelant
Component: python3.16Assignee: Python Maintainers <python-maint>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 44CC: ksurma, mhroncok, python-maint, python-packagers-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["6662658b-83f3-4a15-bdae-4ccd78729c93"]}
Fixed In Version: python3.16-3.16.0~a2-1.fc45 python3.16-3.16.0~a2-1.fc44 python3.16-3.16.0~a2-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-22 01:02:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2559388    

Description lcelant 2026-11-04 14:32:04 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Miro HronĨok 2026-11-05 18:32:19 UTC
Fixed upstream on the main branch (gh-160097: Reject links replacing the destination in tarfile.tar_filter, GH-160098), but this landed after the v3.16.0a1 tag was cut, so it is not included in the current python3.16-3.16.0~a1 build. It will be included in the next upstream pre-release of Python 3.16.

Comment 2 Fedora Update System 2026-11-13 13:44:41 UTC
FEDORA-2026-4376a059cd (python3.16-3.16.0~a2-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4376a059cd

Comment 3 Fedora Update System 2026-11-14 03:21:32 UTC
FEDORA-2026-4376a059cd has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-4376a059cd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-4376a059cd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-11-21 12:53:50 UTC
FEDORA-2026-76598b6198 (python3.16-3.16.0~a2-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-76598b6198

Comment 5 Fedora Update System 2026-11-21 12:55:28 UTC
FEDORA-2026-5ede9f8acd (python3.16-3.16.0~a2-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5ede9f8acd

Comment 6 Fedora Update System 2026-11-22 01:02:56 UTC
FEDORA-2026-76598b6198 (python3.16-3.16.0~a2-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-11-22 01:23:47 UTC
FEDORA-2026-4376a059cd (python3.16-3.16.0~a2-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-11-22 01:48:18 UTC
FEDORA-2026-5ede9f8acd (python3.16-3.16.0~a2-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.