Skip to main content
CVE-2026-12345VulnerabilityPublished Updated

tempfile.TemporaryDirectory cleanup · Race Condition

Affects MicrosoftSource GCVE Database

0
Compare
Authoritative record:CVE-2026-12345· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium · fixed in 3.15.0rc3 : update Microsoft when convenient.

Data as of 30 Oct 2026, 07:51 UTC

CVSS 4.0 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PSF)CVSS 4.05.9
Patch
Available – fixed in 3.15.0rc3, 3.14.9, 3.13.18 +1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade CPython to 3.15.0rc3, 3.14.9, 3.13.18 or 3.12.15.

Affected software

ProductAffectedFixed in
Python Software FoundationCPythonAffected
  • >=3.15.0a1 <3.15.0rc3
Fixed in
  • 3.15.0rc3
Python Software FoundationCPythonAffected
  • >=3.14.0 <3.14.9
Fixed in
  • 3.14.9
Python Software FoundationCPythonAffected
  • >=3.13.0 <3.13.18
Fixed in
  • 3.13.18
Python Software FoundationCPythonAffected
  • <3.12.15
Fixed in
  • 3.12.15
GitHubCPythonpkg:github/CPythonOther threatsAffected
  • <3.12.15
  • >=3.13.0 <3.13.18
  • >=3.14.0 <3.14.9
  • >=3.15.0a1 <3.15.0rc3
Fixed in
  • 3.12.15
  • 3.13.18
  • 3.14.9
  • 3.15.0rc3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

A race condition vulnerability exists in the tempfile.TemporaryDirectory cleanup functionality in Microsoft product version 3.0. This flaw allows deletion of files outside the intended temporary directory during cleanup.

References

Community reviews

Loading reviews…