Skip to content
This page tracks the Alpine Linux fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-12345 →
Unrated

The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directo...

ALPINE-CVE-2026-12345 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Alpine:v3.24python3
< 3.14.10-r0→ 3.14.10-r0
Alpine:v3.21python3
< 3.12.16-r0→ 3.12.16-r0
Alpine:v3.22python3
< 3.12.16-r0→ 3.12.16-r0
Alpine:v3.23python3
< 3.12.16-r0→ 3.12.16-r0
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details