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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:*

History

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) Al usar el módulo ’configparser’ para escribir archivos de configuración que contienen valores de texto multilínea con caracteres de retorno de carro (\r), el archivo resultante podría ser inyectado con claves y valores inesperados si el atacante controla el valor escrito.

18 Aug 2026, 17:52

Type Values Removed Values Added
First Time Python
Python python
References () https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528 - () https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528 - Patch
References () https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd - () https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd - Patch
References () https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908 - () https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908 - Patch
References () https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f - () https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f - Patch
References () https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98 - () https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98 - Patch
References () https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8 - () https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8 - Patch
References () https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6 - () https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6 - Patch
References () https://github.com/python/cpython/issues/143927 - () https://github.com/python/cpython/issues/143927 - Issue Tracking, Patch
References () https://github.com/python/cpython/pull/151559 - () https://github.com/python/cpython/pull/151559 - Issue Tracking, Patch
References () https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/ - () https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/ - Mailing List, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:*
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*

11 Aug 2026, 01:17

Type Values Removed Values Added
References
  • () https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd -
  • () https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908 -

05 Aug 2026, 01:16

Type Values Removed Values Added
References
  • () https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6 -

24 Jun 2026, 14:17

Type Values Removed Values Added
References
  • () https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528 -
  • () https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98 -
  • () https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8 -

23 Jun 2026, 19:17

Type Values Removed Values Added
CWE CWE-74

23 Jun 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-23 18:17

Updated : 2026-10-25 23:10


NVD link : CVE-2026-0864

Mitre link : CVE-2026-0864

CVE.ORG link : CVE-2026-0864


JSON object : View

Products Affected

python

  • python
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')