Bug 2547343 - CVE-2026-12345 python3.14: python: Arbitrary file deletion via race condition during temporary directory cleanup [fedora-all]
Summary: CVE-2026-12345 python3.14: python: Arbitrary file deletion via race condition...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python3.14
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Python Maintainers
QA Contact:
URL:
Whiteboard: {"flaws": ["8b422260-3538-47b9-a268-0...
Depends On:
Blocks: CVE-2026-12345
TreeView+ depends on / blocked
 
Reported: 2026-10-07 09:52 UTC by Srikanth Balasubramanian
Modified: 2026-11-10 01:52 UTC (History)
4 users (show)

Fixed In Version: python3.14-3.14.10-1.fc44 python3.14-3.14.10-1.fc45 python3.14-3.14.10-1.fc43
Clone Of:
Environment:
Last Closed: 2026-11-04 01:36:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-10-07 09:52: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.

The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permissions and file flags reset, with the privileges of the process performing the cleanup. Note that platforms where shutil.rmtree.avoids_symlink_attacks is false, remain affected, and file flags may still be reset outside of the tree on all platforms.

Comment 1 Fedora Update System 2026-10-23 15:01:42 UTC
FEDORA-2026-4886ee66fd (python3.14-3.14.9-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4886ee66fd

Comment 2 Fedora Update System 2026-10-23 15:02:39 UTC
FEDORA-2026-20d35b96be (python3.14-3.14.9-1.fc44 and python3-docs-3.14.9-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-20d35b96be

Comment 3 Fedora Update System 2026-10-23 15:18:56 UTC
FEDORA-2026-24de9b8efa (python3.14-3.14.9-1.fc43 and python3-docs-3.14.9-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-24de9b8efa

Comment 4 Fedora Update System 2026-10-24 17:25:49 UTC
FEDORA-2026-20d35b96be 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-20d35b96be`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-20d35b96be

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

Comment 5 Fedora Update System 2026-10-24 17:48:15 UTC
FEDORA-2026-24de9b8efa 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-24de9b8efa`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-24de9b8efa

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

Comment 6 Fedora Update System 2026-10-24 18:16:04 UTC
FEDORA-2026-4886ee66fd has been pushed to the Fedora 45 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-4886ee66fd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-4886ee66fd

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

Comment 7 Fedora Update System 2026-10-28 03:19:17 UTC
FEDORA-2026-1520dedf55 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-1520dedf55`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-1520dedf55

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

Comment 8 Fedora Update System 2026-10-28 03:46:12 UTC
FEDORA-2026-6530ce786a has been pushed to the Fedora 45 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-6530ce786a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6530ce786a

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

Comment 9 Fedora Update System 2026-10-28 04:02:25 UTC
FEDORA-2026-2a34d74310 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-2a34d74310`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-2a34d74310

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

Comment 10 Fedora Update System 2026-11-04 01:36:13 UTC
FEDORA-2026-2a34d74310 (python3.14-3.14.10-1.fc44 and python3-docs-3.14.10-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 11 Fedora Update System 2026-11-05 01:01:49 UTC
FEDORA-2026-6530ce786a (python3.14-3.14.10-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 12 Fedora Update System 2026-11-10 01:52:49 UTC
FEDORA-2026-1520dedf55 (python3.14-3.14.10-1.fc43 and python3-docs-3.14.10-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.