{"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-0864 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-0864 is a medium-severity vulnerability in Python Python, published on 23 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-0864 and fix it if it is affected.\n\nWhat it is: CVE-2026-0864 is a medium-severity vulnerability in Python Python, published on 23 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-0864 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-0864/ (Markdown: https://insights.sbomify.com/CVE-2026-0864/index.md)","id":"CVE-2026-0864","markdown":"https://insights.sbomify.com/CVE-2026-0864/index.md","name":"CVE-2026-0864","record":{"aliases":["ALPINE-CVE-2026-0864","AZL-109698","AZL-91260","BELL-CVE-2026-0864","BIT-libpython-2026-0864","BIT-python-2026-0864","BIT-python-min-2026-0864","CLSA-2026-1787312520","CLSA-2026-1787646114","CLSA-2026-1787646365","CLSA-2026-1787647093","CLSA-2026-1787648497","CLSA-2026-1787649986","CLSA-2026-1787660038","CLSA-2026-1787663936","CLSA-2026-1787664255","CLSA-2026-1787667020","CLSA-2026-1787671144","CLSA-2026-1787679403","CLSA-2026-1787680122","CLSA-2026-1787681542","CLSA-2026-1787836996","CLSA-2026-1787837013","CLSA-2026-1788001146","CLSA-2026-1788004965","CLSA-2026-1788356018","CLSA-2026-1788794163","CLSA-2026-1788794443","DEBIAN-CVE-2026-0864","ECHO-2ebb-8255-512c","GHSA-g345-7jg6-m22p","MINI-2267-jg8r-629h","MINI-6588-4pfw-4786","MINI-jgjj-x8w5-h4x4","MINI-mc77-hf2g-22m9","MINI-w8gp-32xh-jc35","PSF-2026-29","ROOT-OS-DEBIAN-11-CVE-2026-0864","ROOT-OS-DEBIAN-12-CVE-2026-0864","UBUNTU-CVE-2026-0864"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python configparser module","requires_auth":"high_privilege","summary":"Attackers can inject unexpected keys into configuration files by exploiting carriage return handling in the Python configparser module's write method.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[{"product":"python","vendor":"python"}],"cvss":{"score":4.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"When using the \"configparser\" module to write configuration files\ncontaining multi-line text values with carriage return characters (\\r) the\nresulting file could be injected with unexpected keys and values if the\nattacker controls the written value.","ecosystems":["Bitnami"],"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":"Configuration Injection via Carriage Return (\\r) in write() method","id":"CVE-2026-0864","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"python:python","products":["python:python"],"type":"other","year":"2026"},"n_packages":3,"n_references":10,"next":{"headline":"wsgiref.headers.Headers allows header newline injection","id":"CVE-2026-0865"},"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-0864"},{"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-0864"},{"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-0864"}],"prev":{"headline":"Sandbox escape in n8n Python task runner allows for arbitrary code execution on the underlying host.","id":"CVE-2026-0863"},"products":["CPython"],"published":"2026-06-23","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":"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 inject unexpected keys into configuration files by exploiting carriage return handling in the Python configparser module's write method.","url":"https://insights.sbomify.com/CVE-2026-0864/"}