ADVISORIES

Vulnerability

CVE-2026-12345

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.

50 advisories report this vulnerability, across 15 ecosystems.

Advisories in Red Hat

  • RHSA-2026:74870

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2026-12345 Red Hat Updated 26 November 2026
  • RHSA-2026:74922

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2026-12345 Red Hat Updated 26 November 2026
  • RHSA-2026:75119

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2026-12345 Red Hat Updated 26 November 2026
  • RHSA-2026:85239

    Red Hat Security Advisory: python3 security update

    CVE-2026-12345CVE-2026-19445CVE-2026-19553 Red Hat Updated 27 November 2026
  • RHSA-2026:89742

    Red Hat Security Advisory: python3.9 security update

    CVE-2026-12345CVE-2026-19445CVE-2026-19553 Red Hat Updated 27 November 2026
  • RHSA-2026:98511

    Red Hat Security Advisory: python3.9 security update

    CVE-2026-114583CVE-2026-12345CVE-2026-19445CVE-2026-19553 Red Hat Updated 27 November 2026
  • RHSA-2026:98615

    Red Hat Security Advisory: python3.12 security, bug fix, and enhancement update

    CVE-2026-12345 Red Hat Updated 26 November 2026
  • RHVEX-CVE-2026-12345

    python: python: Arbitrary file deletion via race condition during temporary directory cleanup

    Moderate CVE-2026-12345 Red Hat Updated 25 November 2026

References