{"id":"BIT-python-min-2026-0864","summary":"Configuration Injection via Carriage Return (\\r) in write() method","details":"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.","aliases":["BIT-libpython-2026-0864","BIT-python-2026-0864","CVE-2026-0864","PSF-2026-29"],"modified":"2026-06-29T11:56:13.533045200Z","published":"2026-06-29T11:14:48.344Z","database_specific":{"cpes":["cpe:2.3:a:python:python:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528"},{"type":"WEB","url":"https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f"},{"type":"WEB","url":"https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98"},{"type":"WEB","url":"https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8"},{"type":"WEB","url":"https://github.com/python/cpython/issues/143927"},{"type":"WEB","url":"https://github.com/python/cpython/pull/151559"},{"type":"WEB","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0864"}],"affected":[{"package":{"name":"python-min","ecosystem":"Bitnami","purl":"pkg:bitnami/python-min"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/python-min/BIT-python-min-2026-0864.json"},"severity":[{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}],"schema_version":"1.7.5"}