{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-4360 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 3.10.21, 3.11.16, 3.12.14 or 3.13.15.","what":"CVE-2026-4360 is a low-severity vulnerability in Python Python, published on 30 Jun 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-4360 and fix it if it is affected.\n\nWhat it is: CVE-2026-4360 is a low-severity vulnerability in Python Python, published on 30 Jun 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-4360 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7\n- python (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7\n- python-min (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-4360/ (Markdown: https://insights.sbomify.com/CVE-2026-4360/index.md)","id":"CVE-2026-4360","markdown":"https://insights.sbomify.com/CVE-2026-4360/index.md","name":"CVE-2026-4360","record":{"aliases":["ALPINE-CVE-2026-4360","AZL-109710","AZL-91749","BELL-CVE-2026-4360","BIT-libpython-2026-4360","BIT-python-2026-4360","BIT-python-min-2026-4360","DEBIAN-CVE-2026-4360","ECHO-dcb3-f5f0-1f95","GHSA-gf2w-jqmq-fcm8","MINI-2v93-fqj6-h3vv","MINI-4fff-v756-hrq8","MINI-6r42-ghcf-jcvp","MINI-fw9w-44xr-g399","MINI-wm8c-c6r2-29v3","PSF-2026-32","RHSA-2026:47892","RHSA-2026:47896","RHSA-2026:47915","RHSA-2026:47926","RHSA-2026:47930","ROOT-OS-DEBIAN-12-CVE-2026-4360","UBUNTU-CVE-2026-4360"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"high_privilege","summary":"Attackers can exploit tar extraction to write files with unexpected permissions, potentially leading to privilege escalation or data modification.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[{"product":"python","vendor":"python"}],"cvss":{"score":2,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-281","name":"Improper Preservation of Permissions"}],"description":"In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.","ecosystems":["Bitnami","Red Hat:hummingbird:1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Tarfile.extract() doesn't fully respect filter parameter","id":"CVE-2026-4360","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"python:python","products":["python:python"],"type":"privilege_escalation","year":"2026"},"n_packages":49,"n_references":10,"next":{"headline":"Divi \u003c= 4.27.6 - Authenticated (Contributor+) Server-Side Request Forgery via 'image_src' Parameter","id":"CVE-2026-4361"},"packages":[{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.15","3.14.7"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2026-4360"},{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.15","3.14.7"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2026-4360"},{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.15","3.14.7"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2026-4360"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.6-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python-unversioned-command","purl":"pkg:rpm/redhat/python-unversioned-command","source":"RHSA-2026:47892"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.6-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/redhat/python3","source":"RHSA-2026:47892"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.6-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-debug","purl":"pkg:rpm/redhat/python3-debug","source":"RHSA-2026:47892"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.6-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-devel","purl":"pkg:rpm/redhat/python3-devel","source":"RHSA-2026:47892"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.6-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/redhat/python3-idle","source":"RHSA-2026:47892"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.6-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/redhat/python3-libs","source":"RHSA-2026:47892"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.6-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/redhat/python3-test","source":"RHSA-2026:47892"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.6-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/redhat/python3-tkinter","source":"RHSA-2026:47892"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.20-3.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10","purl":"pkg:rpm/redhat/python3.10","source":"RHSA-2026:47896"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.20-3.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-debug","purl":"pkg:rpm/redhat/python3.10-debug","source":"RHSA-2026:47896"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.20-3.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-devel","purl":"pkg:rpm/redhat/python3.10-devel","source":"RHSA-2026:47896"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.20-3.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-idle","purl":"pkg:rpm/redhat/python3.10-idle","source":"RHSA-2026:47896"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.20-3.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-libs","purl":"pkg:rpm/redhat/python3.10-libs","source":"RHSA-2026:47896"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.20-3.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-test","purl":"pkg:rpm/redhat/python3.10-test","source":"RHSA-2026:47896"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.20-3.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.10-tkinter","purl":"pkg:rpm/redhat/python3.10-tkinter","source":"RHSA-2026:47896"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-5.4.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/redhat/python3.11","source":"RHSA-2026:47915"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-5.4.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-debug","purl":"pkg:rpm/redhat/python3.11-debug","source":"RHSA-2026:47915"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-5.4.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-devel","purl":"pkg:rpm/redhat/python3.11-devel","source":"RHSA-2026:47915"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-5.4.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-idle","purl":"pkg:rpm/redhat/python3.11-idle","source":"RHSA-2026:47915"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-5.4.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-libs","purl":"pkg:rpm/redhat/python3.11-libs","source":"RHSA-2026:47915"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-5.4.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-test","purl":"pkg:rpm/redhat/python3.11-test","source":"RHSA-2026:47915"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-5.4.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-tkinter","purl":"pkg:rpm/redhat/python3.11-tkinter","source":"RHSA-2026:47915"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.7.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/redhat/python3.12","source":"RHSA-2026:47930"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.7.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-debug","purl":"pkg:rpm/redhat/python3.12-debug","source":"RHSA-2026:47930"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.7.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-devel","purl":"pkg:rpm/redhat/python3.12-devel","source":"RHSA-2026:47930"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.7.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-idle","purl":"pkg:rpm/redhat/python3.12-idle","source":"RHSA-2026:47930"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.7.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-libs","purl":"pkg:rpm/redhat/python3.12-libs","source":"RHSA-2026:47930"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.7.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-test","purl":"pkg:rpm/redhat/python3.12-test","source":"RHSA-2026:47930"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.7.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-tkinter","purl":"pkg:rpm/redhat/python3.12-tkinter","source":"RHSA-2026:47930"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.6.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13","purl":"pkg:rpm/redhat/python3.13","source":"RHSA-2026:47926"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.6.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-debug","purl":"pkg:rpm/redhat/python3.13-debug","source":"RHSA-2026:47926"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.6.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-devel","purl":"pkg:rpm/redhat/python3.13-devel","source":"RHSA-2026:47926"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.6.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-freethreading","purl":"pkg:rpm/redhat/python3.13-freethreading","source":"RHSA-2026:47926"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.6.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-freethreading-debug","purl":"pkg:rpm/redhat/python3.13-freethreading-debug","source":"RHSA-2026:47926"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.6.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-idle","purl":"pkg:rpm/redhat/python3.13-idle","source":"RHSA-2026:47926"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.6.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-libs","purl":"pkg:rpm/redhat/python3.13-libs","source":"RHSA-2026:47926"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.6.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-test","purl":"pkg:rpm/redhat/python3.13-test","source":"RHSA-2026:47926"}],"prev":{"headline":"Heap-buffer-over-read in _mongoc_http_send via strstr on non-null-terminated buffer","id":"CVE-2026-4359"},"products":["CPython"],"published":"2026-06-30","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2008-5031","kev_date_added":null,"published":"2008-11-10"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2014-4650","kev_date_added":null,"published":"2020-02-20"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-5636","kev_date_added":null,"published":"2016-09-02"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2007-4559","kev_date_added":null,"published":"2007-08-28"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-17522","kev_date_added":null,"published":"2017-12-14"},{"cvss_score":8.7,"headline":"Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations","id":"CVE-2026-15308","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2019-13404","kev_date_added":null,"published":"2019-07-08"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-13","vendors":["Python Software Foundation"]},"summary":"Attackers can exploit tar extraction to write files with unexpected permissions, potentially leading to privilege escalation or data modification.","url":"https://insights.sbomify.com/CVE-2026-4360/"}