CVE-2026-12345

MEDIUM
MEDIUM Priority: 0.02 BB Relevance: 47/100
Published: 2026-09-29 Modified: 2026-10-26 First seen: 2026-10-29 Status: active

Attack Surface

Low Complexity No Auth No Interaction Integ. Impact

CVSS Vector Breakdown

AV: Local
AC: Low
PR: None
UI: None
S: X
AT: Present
VC: None
VI: High
VA: High

Description

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.

Weakness Classification (1)

Bug Bounty Relevance

47 / 100
✓ No authentication
✓ Low complexity
✓ No user interaction

CVSS Score

5.9 / 10.0 v4.0
CVSS: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

EPSS — Exploitation Probability

0.34%
Raw Score 0.003440
Percentile 27.9%
Date 2026-10-29

EPSS Trend

2026-10-29
0.00344
2026-10-28
0.00344

Intelligence Sources

nvd ref →