Bug 2506028 - CVE-2026-11940 python3.12: CPython: tarfile extraction filter bypass allows escaping the destination directory [fedora-all]
Summary: CVE-2026-11940 python3.12: CPython: tarfile extraction filter bypass allows e...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python3.12
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Python Maintainers
QA Contact:
URL:
Whiteboard: {"flaws": ["074b30b0-4e08-44bf-8625-3...
Depends On:
Blocks: CVE-2026-11940
TreeView+ depends on / blocked
 
Reported: 2026-07-22 07:33 UTC by Yadnyawalk Tale
Modified: 2026-08-26 01:02 UTC (History)
6 users (show)

Fixed In Version: python3.12-3.12.14-1.fc44 python3.12-3.12.14-1.fc43
Clone Of:
Environment:
Last Closed: 2026-08-19 01:02:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Yadnyawalk Tale 2026-07-22 07:33:52 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-17 11:36:52 UTC
FEDORA-2026-a9f0296a41 (python3.12-3.12.14-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a9f0296a41

Comment 2 Fedora Update System 2026-08-17 11:37:28 UTC
FEDORA-2026-7de2b1cfc5 (python3.12-3.12.14-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7de2b1cfc5

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

Comment 4 Fedora Update System 2026-08-18 01:30:36 UTC
FEDORA-2026-a9f0296a41 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-a9f0296a41`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a9f0296a41

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

Comment 5 Fedora Update System 2026-08-18 01:56:19 UTC
FEDORA-2026-7de2b1cfc5 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-7de2b1cfc5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7de2b1cfc5

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

Comment 6 Fedora Update System 2026-08-19 01:02:19 UTC
FEDORA-2026-a9f0296a41 (python3.12-3.12.14-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 7 Fedora Update System 2026-08-26 01:02:56 UTC
FEDORA-2026-7de2b1cfc5 (python3.12-3.12.14-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.