Vulnerability in Python
CVE-2026-0864
When using the "configparser" module to write configuration files containing multi-line text values with carriage return characters (\r) the resulting file could be injected with unexpected keys and values if the attacker controls the written value.
EPSS: 0.001 (2.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Python — versions 3.15.0
- Python Software Foundation Cpython — versions 3.14.0, 0, 3.13.0
Weakness classification (CWE)
References
- cna@python.org (Patch, patch)
- cna@python.org (issue-tracking, Patch, Issue Tracking)
- cna@python.org (Patch, patch, Issue Tracking)
- cna@python.org (vendor-advisory, Mailing List, Vendor Advisory)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
Frequently asked questions
- What is CVE-2026-0864?
- CVE-2026-0864 is a medium-severity vulnerability in Python, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 5.5/10. Published 2026-06-23.
- How severe is CVE-2026-0864?
- Medium severity. CVSS v3 base score is 5.5 out of 10.