CVE-2026-12345
ADVISORY - nistSummary
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.
Common Weakness Enumeration (CWE)
Improper Link Resolution Before File Access ('Link Following')
Improper Link Resolution Before File Access ('Link Following')
Docker
CVE-2026-12345
-
NIST
-
CVSS SCORE
5.9mediumAlpine
-
Debian
-
Ubuntu
-
CVSS SCORE
N/AmediumAlma
-
CVSS SCORE
N/AhighAlma
-
CVSS SCORE
N/AhighBitnami
BIT-libpython-2026-12345
-
CVSS SCORE
5.9mediumBitnami
BIT-python-2026-12345
-
CVSS SCORE
5.9mediumBitnami
BIT-python-min-2026-12345
-
CVSS SCORE
5.9mediumRed Hat
1.0
CVSS SCORE
6.3mediumRocky
-
CVSS SCORE
N/AhighRocky
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighChainguard
CGA-7cmx-g75p-7hfh
-
minimos
MINI-cg9g-4346-48pp
-