ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-12345

No fix available CVE-2026-12345

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:14.04:LTSpython3.4
All versions, no fix listed
Ubuntu:Pro:14.04:LTSpython3.5
All versions, no fix listed
Ubuntu:Pro:16.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:16.04:LTSpython3.5
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython3.6
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython3.7
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython3.8
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython3.8
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython3.9
All versions, no fix listed
Ubuntu:22.04:LTSpython3.10
All versions, no fix listed
Ubuntu:Pro:22.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:22.04:LTSpython3.11
All versions, no fix listed
Ubuntu:24.04:LTSpython3.12
All versions, no fix listed
Ubuntu:26.10python3.14
All versions, no fix listed
Ubuntu:26.04:LTSpython3.14
All versions, no fix listed

References