p PatchFirst

ALPINE-CVE-2026-12345

ALPINE-CVE-2026-12345

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.9 · Medium · Fix available

Published
Updated

Stack: system

Affected products and versions

  • python3 Alpine:v3.24

    Affected ranges
    • ECOSYSTEM: < 3.14.10-r0

    Update to 3.14.10-r0

Original sources

Check your server →