BaselineWatch
Desk

CVE-2026-12345

5.9 medium exploit SSVC exploitation: none Published

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.

Fix

Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.

Public exploits 1

Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.

Change history 5

  1. StatusAwaiting Analysis → PublishedNVD modified 2026-10-26 00:36
  2. References+2 references (now 10)NVD modified 2026-10-26 01:17
  3. StatusPublished → Awaiting AnalysisNVD modified 2026-10-26 01:17
  4. StatusAwaiting Analysis → PublishedNVD modified 2026-10-26 00:36
  5. First seenCVSS 5.9NVD modified 2026-10-10 01:16

Affected (CPE criteria) 0

NVD has not attached CPE configurations yet.

References 10