{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min.","exploited":"There is no known exploitation of CVE-2026-7774 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.14.","what":"CVE-2026-7774 is a medium-severity path traversal vulnerability in CPython, published on 4 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-7774 and fix it if it is affected.\n\nWhat it is: CVE-2026-7774 is a medium-severity path traversal vulnerability in CPython, published on 4 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-7774 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.14, 3.14.6\n- python (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.6\n- python-min (Bitnami): affected all versions; fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.6\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-7774/ (Markdown: https://insights.sbomify.com/CVE-2026-7774/index.md)","id":"CVE-2026-7774","markdown":"https://insights.sbomify.com/CVE-2026-7774/index.md","name":"CVE-2026-7774","record":{"aliases":["ALPINE-CVE-2026-7774","AZL-89472","BELL-CVE-2026-7774","BIT-libpython-2026-7774","BIT-python-2026-7774","BIT-python-min-2026-7774","DEBIAN-CVE-2026-7774","ECHO-e345-ef13-be4f","GHSA-6cj7-v55x-8mwr","MINI-26r5-354m-32rq","MINI-763q-98mw-3g34","MINI-qr73-wpgw-hxhm","MINI-v5xp-jjxp-vcgp","MINI-ww98-x2qw-jhjr","PSF-2026-26","ROOT-OS-DEBIAN-12-CVE-2026-7774","SUSE-SU-2026:3851-1","UBUNTU-CVE-2026-7774"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"none","summary":"A malicious tar archive can bypass path traversal protections in Python's tarfile module to write files outside the intended extraction directory.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.","ecosystems":["Bitnami","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP4"],"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.data_filter path traversal bypass allows writing outside the extraction directory","id":"CVE-2026-7774","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":11,"n_references":10,"next":{"headline":"Cross-site Scripting Security Vulnerability in IBM Sterling B2B Integrator and IBM Sterling File Gateway","id":"CVE-2026-7775"},"packages":[{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.14","3.14.6"],"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-7774"},{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.14","3.14.6"],"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-7774"},{"ecosystem":"Bitnami","fixed":["3.10.21","3.11.16","3.12.14","3.13.14","3.14.6"],"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-7774"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["3.10.20-150400.4.118.1"],"introduced":["0"],"last_affected":[],"package":"python310","purl":"pkg:rpm/suse/python310\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:3851-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["3.10.20-150400.4.118.1"],"introduced":["0"],"last_affected":[],"package":"python310-core","purl":"pkg:rpm/suse/python310-core\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:3851-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["3.10.20-150400.4.118.1"],"introduced":["0"],"last_affected":[],"package":"python310","purl":"pkg:rpm/suse/python310\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:3851-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["3.10.20-150400.4.118.1"],"introduced":["0"],"last_affected":[],"package":"python310-core","purl":"pkg:rpm/suse/python310-core\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:3851-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["3.10.20-150400.4.118.1"],"introduced":["0"],"last_affected":[],"package":"python310","purl":"pkg:rpm/suse/python310\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:3851-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["3.10.20-150400.4.118.1"],"introduced":["0"],"last_affected":[],"package":"python310-core","purl":"pkg:rpm/suse/python310-core\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:3851-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["3.10.20-150400.4.118.1"],"introduced":["0"],"last_affected":[],"package":"python310","purl":"pkg:rpm/suse/python310\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:3851-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["3.10.20-150400.4.118.1"],"introduced":["0"],"last_affected":[],"package":"python310-core","purl":"pkg:rpm/suse/python310-core\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:3851-1"}],"prev":{"headline":"Denial of service in Db2","id":"CVE-2026-7771"},"products":["CPython"],"published":"2026-06-04","related":[],"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":"SUSE","prefix":"SUSE"},{"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":"A malicious tar archive can bypass path traversal protections in Python's tarfile module to write files outside the intended extraction directory.","url":"https://insights.sbomify.com/CVE-2026-7774/"}