cbcvebase.
CVE-2026-12345
published 2026-09-29

CVE-2026-12345: 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…

PriorityP428medium5.9CVSS 4.0
AVLACLATPPRNUINVCNVIHVAHSCNSINSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.18%
7.2th percentile
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.

Affected

56 ranges· showing 25
VendorProductVersion rangeFixed in
ansible-automation-platformbootc-automation-portal-rhel9——
container-native-virtualizationocp-virt-validation-checkup-rhel9——
debianpython3.11——
debianpython3.13——
debianpython3.14——
debianpython3.9——
microsoftmicrosoft.netcore.app.runtime.linux-arm>= 10.0.0 < 10.0.610.0.6
microsoftmicrosoft.netcore.app.runtime.linux-arm>= 8.0.0 < 8.0.268.0.26
microsoftmicrosoft.netcore.app.runtime.linux-arm>= 9.0.0 < 9.0.159.0.15
microsoftmicrosoft.netcore.app.runtime.linux-arm64>= 10.0.0 < 10.0.610.0.6
microsoftmicrosoft.netcore.app.runtime.linux-arm64>= 8.0.0 < 8.0.268.0.26
microsoftmicrosoft.netcore.app.runtime.linux-arm64>= 9.0.0 < 9.0.159.0.15
microsoftmicrosoft.netcore.app.runtime.linux-musl-arm>= 10.0.0 < 10.0.610.0.6
microsoftmicrosoft.netcore.app.runtime.linux-musl-arm>= 8.0.0 < 8.0.268.0.26
microsoftmicrosoft.netcore.app.runtime.linux-musl-arm>= 9.0.0 < 9.0.159.0.15
microsoftmicrosoft.netcore.app.runtime.linux-musl-arm64>= 10.0.0 < 10.0.610.0.6
microsoftmicrosoft.netcore.app.runtime.linux-musl-arm64>= 8.0.0 < 8.0.268.0.26
microsoftmicrosoft.netcore.app.runtime.linux-musl-arm64>= 9.0.0 < 9.0.159.0.15
microsoftmicrosoft.netcore.app.runtime.linux-musl-x64>= 10.0.0 < 10.0.610.0.6
microsoftmicrosoft.netcore.app.runtime.linux-musl-x64>= 8.0.0 < 8.0.268.0.26
microsoftmicrosoft.netcore.app.runtime.linux-musl-x64>= 9.0.0 < 9.0.159.0.15
microsoftmicrosoft.netcore.app.runtime.linux-x64>= 10.0.0 < 10.0.610.0.6
microsoftmicrosoft.netcore.app.runtime.linux-x64>= 8.0.0 < 8.0.268.0.26
microsoftmicrosoft.netcore.app.runtime.linux-x64>= 9.0.0 < 9.0.159.0.15
microsoftmicrosoft.netcore.app.runtime.osx-arm64>= 10.0.0 < 10.0.610.0.6

CVSS provenance

nvdv4.05.9MEDIUMCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
ghsa7.8HIGH
vendor_redhat5.9MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.