Answer in brief
CVE-2026-12345 records a Medium severity (CVSS 5.9) vulnerability in Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory. The current sources do not mark it as known exploited. The current feed maps Python Software Foundation/CPython (generic), Python Software Foundation/CPython (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 5.9. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps Python Software Foundation/CPython (generic), Python Software Foundation/CPython (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| Python Software Foundation/CPythongeneric | >=0 <3.16.0 | 3.16.0 |
| Python Software Foundation/CPythongeneric | >=0 <3.15.0 | 3.15.0 |
Published upstream
Sep 29, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Sep 29, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Sep 29, 2026
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.
Quoted source text, attributed separately from HOL analysis.