{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-0864","id":"CVE-2026-0864","title":"Configuration Injection via Carriage Return (\\r) in write() method","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.","descriptionLong":"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.","published":"2026-06-23T17:42:01.947Z","updated":"2026-11-11T10:31:09.806873640Z","reserved":"2026-01-12T16:07:55.453Z","status":"Analyzed","rejected":false,"assigner":"PSF","metric":{"version":"4.0","score":4.1,"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","rating":"medium","source":"PSF"},"metrics":[{"version":"4.0","score":4.1,"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","rating":"medium","source":"PSF"},{"version":"4.0","score":4.1,"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/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","rating":"medium","source":"python.org"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Python Software Foundation CPython"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.10.21","status":"affected","versionType":"python"},{"version":"3.11.0","lessThan":"3.11.16","status":"affected","versionType":"python"},{"version":"3.12.0","lessThan":"3.12.14","status":"affected","versionType":"python"},{"version":"3.13.0","lessThan":"3.13.15","status":"affected","versionType":"python"},{"version":"3.14.0","lessThan":"3.14.7","status":"affected","versionType":"python"},{"version":"3.15.0a1","lessThan":"3.15.0b4","status":"affected","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-74"],"aliases":["BIT-libpython-2026-0864","BIT-python-2026-0864","BIT-python-min-2026-0864","PSF-2026-29"],"references":[{"url":"https://github.com/python/cpython/pull/151559","tags":["patch","Issue Tracking","Patch","fix","web"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/","tags":["vendor-advisory","Mailing List","Vendor Advisory","advisory"]},{"url":"https://github.com/python/cpython/issues/143927","tags":["issue-tracking","Issue Tracking","Patch","report"]},{"url":"https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908","tags":["patch","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0864.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0864","tags":["advisory"]},{"url":"https://github.com/python/cpython","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00126,"epssPercentile":0.02351,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-0864","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0864","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-0864","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-0864","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["python"],"critical":[],"attention":null}