{"cve":{"cve_id":"CVE-2023-6597","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.0031,"epss_percentile":0.22585,"epss_as_of":"2026-06-23","description":"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.\n\nThe 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.\n","published_at":"2024-03-19T15:44:28.989000Z","last_modified_at":null,"cvss_v3_score":7.8,"cvss_v3_vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","cvss_v3_severity":"HIGH","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":"none","ssvc_automatable":false,"ssvc_technical_impact":"total","cwes":null,"nvd_references":["https://github.com/python/cpython/commit/81c16cd94ec38d61aa478b9a452436dc3b1b524d","https://github.com/python/cpython/commit/6ceb8aeda504b079fef7a57b8d81472f15cdd9a5","https://github.com/python/cpython/commit/5585334d772b253a01a6730e8202ffb1607c3d25","https://github.com/python/cpython/commit/8eaeefe49d179ca4908d052745e3bb8b6f238f82","https://github.com/python/cpython/commit/d54e22a669ae6e987199bb5d2c69bb5a46b0083b","https://github.com/python/cpython/commit/02a9259c717738dfe6b463c44d7e17f2b6d2cb3a","https://github.com/python/cpython/issues/91133","https://mail.python.org/archives/list/security-announce@python.org/thread/Q5C6ATFC67K53XFV4KE45325S7NS62LD/","https://lists.debian.org/debian-lts-announce/2024/03/msg00025.html","http://www.openwall.com/lists/oss-security/2024/03/20/5","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/"],"vuln_status":null,"trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-06-29T01:44:39.184534Z"},"effective_severity":"HIGH","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"L","value_label":"Local"},{"metric":"AC","name":"Attack Complexity","value":"H","value_label":"High"},{"metric":"PR","name":"Privileges Required","value":"N","value_label":"None"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"C","value_label":"Changed"},{"metric":"C","name":"Confidentiality","value":"H","value_label":"High"},{"metric":"I","name":"Integrity","value":"H","value_label":"High"},{"metric":"A","name":"Availability","value":"N","value_label":"None"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"python-software-foundation","vendor_name":"Python Software Foundation","product_slug":"cpython","product_name":"CPython","version_start":"0","version_start_inclusive":true,"version_end":"3.8.19","version_end_inclusive":false,"cpe23_uri":"cve5:python-software-foundation:cpython:0:3.8.19"},{"vendor_slug":"python-software-foundation","vendor_name":"Python Software Foundation","product_slug":"cpython","product_name":"CPython","version_start":"3.9.0","version_start_inclusive":true,"version_end":"3.9.19","version_end_inclusive":false,"cpe23_uri":"cve5:python-software-foundation:cpython:3.9.0:3.9.19"},{"vendor_slug":"python-software-foundation","vendor_name":"Python Software Foundation","product_slug":"cpython","product_name":"CPython","version_start":"3.10.0","version_start_inclusive":true,"version_end":"3.10.14","version_end_inclusive":false,"cpe23_uri":"cve5:python-software-foundation:cpython:3.10.0:3.10.14"},{"vendor_slug":"python-software-foundation","vendor_name":"Python Software Foundation","product_slug":"cpython","product_name":"CPython","version_start":"3.11.0","version_start_inclusive":true,"version_end":"3.11.8","version_end_inclusive":false,"cpe23_uri":"cve5:python-software-foundation:cpython:3.11.0:3.11.8"},{"vendor_slug":"python-software-foundation","vendor_name":"Python Software Foundation","product_slug":"cpython","product_name":"CPython","version_start":"3.12.0","version_start_inclusive":true,"version_end":"3.12.1","version_end_inclusive":false,"cpe23_uri":"cve5:python-software-foundation:cpython:3.12.0:3.12.1"},{"vendor_slug":"python-software-foundation","vendor_name":"Python Software Foundation","product_slug":"cpython","product_name":"CPython","version_start":"3.13.0a1","version_start_inclusive":true,"version_end":"3.13.0a3","version_end_inclusive":false,"cpe23_uri":"cve5:python-software-foundation:cpython:3.13.0a1:3.13.0a3"}],"exploit_refs":[],"news":[],"references":[{"url":"https://github.com/python/cpython/commit/81c16cd94ec38d61aa478b9a452436dc3b1b524d","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/6ceb8aeda504b079fef7a57b8d81472f15cdd9a5","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/5585334d772b253a01a6730e8202ffb1607c3d25","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/8eaeefe49d179ca4908d052745e3bb8b6f238f82","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/d54e22a669ae6e987199bb5d2c69bb5a46b0083b","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/02a9259c717738dfe6b463c44d7e17f2b6d2cb3a","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/91133","source_type":"MISC","tags":[]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/Q5C6ATFC67K53XFV4KE45325S7NS62LD/","source_type":"MISC","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00025.html","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/20/5","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/","source_type":"MAILING_LIST","tags":["mailing-list"]}],"timeline":[{"type":"published","at":"2024-03-19T15:44:28.989000Z","label":"CVE published","source":null},{"type":"cvss_changed","at":"2026-06-28T17:31:58.415164Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:31:58.415164Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:31:58.415164Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"ssvc_changed","at":"2026-06-29T01:44:39.184534Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-29T01:44:39.184534Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-29T01:44:39.184534Z","label":"SSVC decision revised","source":"vulnrichment"}]}