CVE-2026-12345

Medium

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductMicrosoft Azl3 Python3 3.12.14-2
PublishedSep 29, 2026
First seenSep 29, 2026

How to fix

Affected products

ProductAffected versionsFixed in
microsoft azl3_python3_3.12.14-2No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.