Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2023-6597

24
FAUCET Score

CVE-2023-6597 is a high-severity vulnerability affecting specific versions of the CPython tempfile.TemporaryDirectory class (3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior). The flaw allows privileged programs to potentially modify file permissions by dereferencing symlinks during cleanup of permissions-related errors. With a CVSS score of 7.8, this vulnerability has a local attack vector with high complexity, potentially leading to high confidentiality and integrity impacts. Currently, there is no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
>= 3.10.0, < 3.10.14CPE match
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.11.0, < 3.11.8CPE match
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.12.0, < 3.12.1CPE match
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 0, < 3.8.19CPE match
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.9.0, < 3.9.19CPE match
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.8HIGH

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
1.4
Impact Score
5.8
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.31%
Probability of exploitation in next 30 days
EPSS Percentile
23.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0031 is in the 67th percentile among its peer group of 157 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.2 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (41)

microsoftpatch availablevia msrc
Product: cbl2 python3 3.9.19-1 on CBL Mariner 2.0Fixed in: 3.9.19-1
microsoftpatch availablevia msrc
Product: Azure Linux 3.0 ARMFixed in: 3.12.3-1
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 x64Fixed in: 3.9.19-1
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 ARMFixed in: 3.9.19-1
microsoftpatch availablevia msrc
Product: 19964-17084Fixed in: 3.12.3-1
microsoftpatch availablevia msrc
Product: 17712-17084Fixed in: 3.12.3-1
microsoftpatch availablevia msrc
Product: 19976-17086Fixed in: 3.9.19-1
microsoftpatch availablevia msrc
Product: 17386-16823Fixed in: 3.9.19-1
microsoftpatch availablevia msrc
Product: cbl2 python3 3.9.14-8 on CBL Mariner 2.0Fixed in: 3.9.19-1
microsoftpatch availablevia msrc
Product: Azure Linux 3.0 x64Fixed in: 3.12.3-1
microsoftpatch availablevia msrc
Product: azl3 python3 3.12.0-4 on Azure Linux 3.0Fixed in: 3.12.3-1
microsoftpatch availablevia msrc
Product: azl3 python3 3.12.3-1 on Azure Linux 3.0Fixed in: 3.12.3-1
nodejspatch availablevia llm_extracted
View patch
pjsippatch availablevia llm_extracted
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: python3.11-0:3.11.7-1.el9_4.1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: python3.9-0:3.9.18-3.el9_4.1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsFixed in: python3.9-0:3.9.10-4.el9_0.4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9.2 Extended Update SupportFixed in: python3.11-0:3.11.2-2.el9_2.4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9.2 Extended Update SupportFixed in: python3.9-0:3.9.16-1.el9_2.5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.12Fixed in: rhcos-412.86.202501011408-0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.13Fixed in: rhcos-413.92.202501201944-0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.14Fixed in: rhcos-414.92.202501150310-0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.16Fixed in: rhcos-416.94.202501220853-0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.17Fixed in: rhcos-417.94.202502051822-0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.18Fixed in: rhcos-418.94.202503102036-0
View patch
redhatpatch availablevia redhat_api
Product: Service Interconnect 1.4 for RHEL 9Fixed in: service-interconnect/skupper-router-rhel9:2.4.3-5
View patch
redhatpatch availablevia redhat_api
Product: Service Interconnect 1 for RHEL 9Fixed in: service-interconnect/skupper-router-rhel9:2.5.3-2
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.15Fixed in: rhcos-415.92.202501152057-0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python3-0:3.6.8-62.el8_10
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python39:3.9-8100020240516111311.d47b87a4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python39-devel:3.9-8100020240516111311.d47b87a4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python3.11-0:3.11.9-1.el8_10
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.2 Advanced Update SupportFixed in: python3-0:3.6.8-24.el8_2.3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportFixed in: python3-0:3.6.8-39.el8_4.5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceFixed in: python3-0:3.6.8-39.el8_4.5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsFixed in: python3-0:3.6.8-39.el8_4.5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportFixed in: python3-0:3.6.8-47.el8_6.6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceFixed in: python3-0:3.6.8-47.el8_6.6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsFixed in: python3-0:3.6.8-47.el8_6.6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.8 Extended Update SupportFixed in: python3-0:3.6.8-51.el8_8.6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.8 Extended Update SupportFixed in: python3.11-0:3.11.2-2.el8_8.3
View patch

Vendor Advisories (5)

nodejsllm-nodejs-302528ae26f0d946CRITICAL

HP ThinPro 8.1 SP4 Security Updates

Oct 29, 2024
pjsipllm-pjsip-7ba3ec379210ac70CRITICAL

HP ThinPro 8.1 SP4 Security Updates

Oct 29, 2024
microsoft2024-Sep/CVE-2023-6597

CVE-2023-6597

Sep 10, 2024
redhatCVE-2023-6597Important

python: Path traversal on tempfile.TemporaryDirectory

Mar 19, 2024
microsoft2024-Mar/CVE-2023-6597Important

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.

Mar 12, 2024

References

lists.debian.org / debian-lts-announce/2024/11/msg00005.html
lists.debian.org / debian-lts-announce/2024/12/msg00000.html
github.com / python/cpython/commit/02a9259c717738dfe6b463c44d7e17f2b6d2cb3a
github.com / python/cpython/commit/5585334d772b253a01a6730e8202ffb1607c3d25
github.com / python/cpython/commit/6ceb8aeda504b079fef7a57b8d81472f15cdd9a5
github.com / python/cpython/commit/81c16cd94ec38d61aa478b9a452436dc3b1b524d
github.com / python/cpython/commit/8eaeefe49d179ca4908d052745e3bb8b6f238f82
github.com / python/cpython/commit/d54e22a669ae6e987199bb5d2c69bb5a46b0083b
github.com / python/cpython/issues/91133
lists.debian.org / debian-lts-announce/2024/03/msg00025.html
lists.fedoraproject.org / archives/list/[email protected]/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM
lists.fedoraproject.org / archives/list/[email protected]/message/U5VHWS52HGD743C47UMCSAK2A773M2YE
mail.python.org / archives/list/[email protected]/thread/Q5C6ATFC67K53XFV4KE45325S7NS62LD
openwall.com / lists/oss-security/2024/03/20/5