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 in SUSE

  • 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

References