Bug 2506029

Summary: CVE-2026-11940 python3.13: CPython: tarfile extraction filter bypass allows escaping the destination directory [fedora-all]
Product: [Fedora] Fedora Reporter: Yadnyawalk Tale <ytale>
Component: python3.13Assignee: Python Maintainers <python-maint>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 45CC: ksurma, mhroncok, python-maint, python-packagers-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["074b30b0-4e08-44bf-8625-3180c1d5a5df"]}
Fixed In Version: python3.13-3.13.15-1.fc45 python3.13-3.13.15-1.fc46 python3.13-3.13.15-1.fc43 python3.13-3.13.15-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-21 04:51:08 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: 2491848    

Description Yadnyawalk Tale 2026-07-22 07:33:58 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.extractall() with the 'data' or 'tar'
 filter could be bypassed by a crafted archive where a hardlink 
references a symlink stored at a deeper name than the hardlink itself.  
The extraction fallback validated the symlink at it's archived location 
but recreated it at the hardlink's shallower
path, letting a relative
 target the filter judged contained escape the destination directory.  
This allowed a malicious tar archive to create a symlink pointing 
outside the destination, enabling out-of-destination file reads or 
writes. This was an incomplete fix of CVE-2025-4330.

Comment 1 Fedora Update System 2026-08-12 18:53:01 UTC
FEDORA-2026-d2906e4778 (python3.13-3.13.15-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d2906e4778

Comment 2 Fedora Update System 2026-08-12 18:53:04 UTC
FEDORA-2026-b39628a3c3 (python3.13-3.13.15-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-b39628a3c3

Comment 3 Fedora Update System 2026-08-13 01:47:44 UTC
FEDORA-2026-d2906e4778 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-d2906e4778`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d2906e4778

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

Comment 4 Fedora Update System 2026-08-13 02:11:06 UTC
FEDORA-2026-b39628a3c3 has been pushed to the Fedora 43 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-b39628a3c3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-b39628a3c3

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

Comment 5 Aoife Moloney 2026-08-17 15:35:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 6 Fedora Update System 2026-08-21 04:51:08 UTC
FEDORA-2026-b39628a3c3 (python3.13-3.13.15-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-08-21 05:18:47 UTC
FEDORA-2026-d2906e4778 (python3.13-3.13.15-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.