ADVISORIES

Vulnerability

CVE-2023-6597

An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The tempfile.TemporaryDirectory class would dereference symlinks during cleanup of permissions-related errors. This means users which can run privileged programs are potentially able to modify permissions of files referenced by symlinks in some circumstances.

84 advisories report this vulnerability, across 15 ecosystems.

Advisories

  • ALAS2-2024-2541

    Amazon Linux 2 2017.12 - ALAS2-2024-2541: important priority package update for python3

    Important CVE-2023-6597 Amazon Linux Updated 15 May 2024
  • ALAS2023-2024-616

    Amazon Linux 2023 - ALAS2023-2024-616: Important priority package update for python3.9

    Important CVE-2023-6597 Amazon Linux Updated 15 May 2024
  • ALAS2023-2024-617

    Amazon Linux 2023 - ALAS2023-2024-617: Important priority package update for python3.11

    Important CVE-2023-6597 Amazon Linux Updated 15 May 2024
  • ALPINE-CVE-2023-6597

    An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The tempfile.TemporaryDirectory class would dereference symlinks during…

    CVE-2023-6597 Alpine Updated 26 October 2026
  • ALSA-2024:3347

    Important: python3 security update

    CVE-2023-6597CVE-2024-0450 AlmaLinux Updated 29 October 2026
  • ALSA-2024:3466

    Important: python39:3.9 and python39-devel:3.9 security update

    CVE-2023-6597CVE-2024-0450CVE-2024-3651 AlmaLinux Updated 29 October 2026
  • ALSA-2024:4058

    Important: python3.11 security update

    CVE-2023-6597CVE-2024-0450 AlmaLinux Updated 29 October 2026
  • ALSA-2024:4077

    Important: python3.11 security update

    CVE-2023-6597 AlmaLinux Updated 29 October 2026
  • ALSA-2024:4078

    Important: python3.9 security update

    CVE-2023-6597CVE-2024-0450 AlmaLinux Updated 29 October 2026
  • AZL-35926

    CVE-2023-6597 affecting package python3 for versions less than 3.12.3-1

    CVE-2023-6597 Azure Linux Updated 21 April 2026
  • AZL-35949

    CVE-2023-6597 affecting package python3 for versions less than 3.9.19-1

    CVE-2023-6597 Azure Linux Updated 21 April 2026
  • CGA-2vxv-jwv7-pxc4
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-549j-2w92-45qf
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-5rq4-5x2x-69pg
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-7557-jx95-r6rx
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-8cgm-46q9-x8xw
    CVE-2023-6597 Chainguard Updated 5 November 2026
  • CGA-8x3f-v2x2-6q3x
    CVE-2023-6597 Chainguard Updated 5 November 2026
  • CGA-94vm-rcvj-p5vf
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-c66x-5q52-42j7
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-fcmq-h448-q6jq
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-fvm6-gmjr-w257
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-gr44-8cwh-4grg
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-j9cx-6h55-jvwv
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-jcwx-wcw9-9fgc
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-m5w4-h5q2-hh8p
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-pc89-gqw5-xvc6
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-rxj8-564p-gv97
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-vg34-pwx4-cr5m
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-w6cg-x6v4-6487
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-wf47-jjcc-4cff
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-wh73-4p3q-wcfp
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-whq3-42vc-chqw
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CGA-xchp-493m-qc55
    CVE-2023-6597 ChainguardWolfi Updated 5 November 2026
  • CNA-CVE-2023-6597

    An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The tempfile.TemporaryDirectory class would dereference symlinks during…

    CVE-2023-6597 Python Updated 3 November 2025
  • DEBIAN-CVE-2023-6597

    An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The tempfile.TemporaryDirectory class would dereference symlinks during…

    CVE-2023-6597 Debian Updated 26 October 2026
  • DLA-3772-1

    python3.7 - security update

    CVE-2023-6597CVE-2024-0450 Debian Updated 20 November 2026
  • DLA-3948-1

    pypy3 - security update

    CVE-2023-24329CVE-2023-40217CVE-2023-6597CVE-2024-0450 Debian Updated 20 November 2026
  • DLA-3980-1

    python3.9 - security update

    CVE-2015-20107CVE-2020-10735CVE-2021-28861CVE-2021-29921 Debian Updated 20 November 2026
  • ELSA-2024-3347

    ELSA-2024-3347: python3 security update (IMPORTANT)

    Important CVE-2023-6597CVE-2024-0450 Oracle Linux Updated 29 May 2024
  • ELSA-2024-3466

    ELSA-2024-3466: python39:3.9 and python39-devel:3.9 security update (IMPORTANT)

    Important CVE-2023-6597CVE-2024-0450CVE-2024-3651 Oracle Linux Updated 31 May 2024
  • ELSA-2024-4058

    ELSA-2024-4058: python3.11 security update (IMPORTANT)

    Important CVE-2023-6597CVE-2024-0450 Oracle Linux Updated 24 June 2024
  • ELSA-2024-4077

    ELSA-2024-4077: python3.11 security update (IMPORTANT)

    Important CVE-2023-6597 Oracle Linux Updated 25 June 2024
  • ELSA-2024-4078

    ELSA-2024-4078: python3.9 security update (IMPORTANT)

    Important CVE-2023-6597CVE-2024-0450 Oracle Linux Updated 25 June 2024
  • OESA-2024-2190

    python3 security update

    High CVE-2023-6597CVE-2024-0450CVE-2024-3219CVE-2024-6232 openEuler Updated 18 August 2026
  • OESA-2024-2191

    python3 security update

    High CVE-2023-6597CVE-2024-0450CVE-2024-3219CVE-2024-6232 openEuler Updated 18 August 2026
  • OESA-2024-2192

    python3 security update

    High CVE-2023-6597CVE-2024-3219CVE-2024-6232 openEuler Updated 18 August 2026
  • OESA-2024-2193

    python3 security update

    High CVE-2023-6597CVE-2024-0450CVE-2024-3219CVE-2024-6232 openEuler Updated 18 August 2026
  • RHSA-2024:3347

    Red Hat Security Advisory: python3 security update

    CVE-2023-6597CVE-2024-0450 Red Hat Updated 13 November 2026
  • RHSA-2024:3391

    Red Hat Security Advisory: python3 security update

    CVE-2023-6597CVE-2024-0450 Red Hat Updated 13 November 2026
  • RHSA-2024:3466

    Red Hat Security Advisory: python39:3.9 and python39-devel:3.9 security update

    CVE-2023-6597CVE-2024-0450CVE-2024-3651 Red Hat Updated 13 November 2026
  • RHSA-2024:4058

    Red Hat Security Advisory: python3.11 security update

    CVE-2023-6597CVE-2024-0450 Red Hat Updated 13 November 2026
  • RHSA-2024:4077

    Red Hat Security Advisory: python3.11 security update

    CVE-2023-6597 Red Hat Updated 13 November 2026
  • RHSA-2024:4078

    Red Hat Security Advisory: python3.9 security update

    CVE-2023-6597CVE-2024-0450 Red Hat Updated 13 November 2026
  • RHSA-2024:4166

    Red Hat Security Advisory: python3 security update

    CVE-2023-6597 Red Hat Updated 13 November 2026
  • RHSA-2024:4370

    Red Hat Security Advisory: python3 security update

    CVE-2023-6597 Red Hat Updated 13 November 2026
  • RHSA-2024:4406

    Red Hat Security Advisory: python3 security update

    CVE-2023-6597CVE-2024-0450 Red Hat Updated 13 November 2026
  • RHSA-2024:4456

    Red Hat Security Advisory: python3 security update

    CVE-2023-6597 Red Hat Updated 13 November 2026
  • RHSA-2024:4896

    Red Hat Security Advisory: python3.11 security update

    CVE-2023-6597 Red Hat Updated 13 November 2026
  • RHSA-2024:5535

    Red Hat Security Advisory: python3.9 security update

    CVE-2023-6597 Red Hat Updated 13 November 2026
  • RHSA-2024:5689

    Red Hat Security Advisory: python3.9 security update

    CVE-2023-6597 Red Hat Updated 13 November 2026
  • RLSA-2024:3347

    Important: python3 security update

    CVE-2023-6597CVE-2024-0450 Rocky Linux Updated 4 February 2026
  • RLSA-2024:4077

    Important: python3.11 security update

    CVE-2023-6597 Rocky Linux Updated 5 February 2026
  • RLSA-2024:4078

    Important: python3.9 security update

    CVE-2023-6597CVE-2024-0450 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2024:0782-1

    Security update for python311

    CVE-2022-25236CVE-2023-27043CVE-2023-6597 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:0782-2

    Security update for python311

    CVE-2022-25236CVE-2023-27043CVE-2023-6597 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0784-1

    Security update for python39

    CVE-2022-25236CVE-2023-27043CVE-2023-40217CVE-2023-6597 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:0785-1

    Security update for python3

    CVE-2023-40217CVE-2023-6597 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0820-1

    Security update for python310

    CVE-2023-6597 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:0850-1

    Security update for python3

    CVE-2023-6597 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0901-1

    Security update for python3

    CVE-2022-48566CVE-2023-6597 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:1009-1

    Security update for python39

    CVE-2023-52425CVE-2023-6597CVE-2024-0450 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:1162-1

    Security update for python310

    CVE-2023-52425CVE-2023-6597CVE-2024-0450 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:1556-1

    Security update for python311

    CVE-2023-52425CVE-2023-6597CVE-2024-0450 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:1847-1

    Security update for python36

    CVE-2022-48566CVE-2023-52425CVE-2023-6597CVE-2024-0450 SUSE Updated 4 February 2026
  • SUSE-SU-2025:20154-1

    Security update for python311

    CVE-2019-20907CVE-2019-9947CVE-2020-15523CVE-2020-15801 SUSE Updated 23 March 2026
  • SUSE-SU-2025:20374-1

    Security update for python311

    CVE-2022-25236CVE-2023-27043CVE-2023-52425CVE-2023-6597 SUSE Updated 23 March 2026
  • SUSEVEX-CVE-2023-6597

    An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The tempfile.TemporaryDirectory class would dereference symlinks during…

    Important CVE-2023-6597 SUSE Updated 24 November 2026
  • UBUNTU-CVE-2023-6597

    An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The tempfile.TemporaryDirectory class would dereference symlinks during…

    CVE-2023-6597 Ubuntu Updated 8 September 2026
  • USN-6891-1

    python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12 vulnerabilities

    CVE-2015-20107CVE-2018-1060CVE-2018-1061CVE-2018-14647 Ubuntu Updated 8 October 2026
  • openSUSE-SU-2024:13736-1

    python38-3.8.18-5.1 on GA media

    CVE-2023-6597 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13739-1

    python310-3.10.13-5.1 on GA media

    CVE-2023-6597 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13740-1

    python311-3.11.8-3.1 on GA media

    CVE-2023-6597 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13741-1

    python39-3.9.18-5.1 on GA media

    CVE-2023-6597 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13744-1

    python312-3.12.2-4.1 on GA media

    CVE-2023-6597 openSUSE Updated 4 February 2026

References