Vulnerability

CVE-2026-0864

mediumCVSS 4.0 4.1Published 23 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Python python

Weakness type

References

  • github.com /python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df00…
  • github.com /python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f…
  • github.com /python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e63…
  • github.com /python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994…
  • github.com /python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7a…
  • github.com /python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb…
  • github.com /python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6…
  • github.com /python/cpython/issues/143927
  • github.com /python/cpython/pull/151559
  • mail.python.org /archives/list/security-announce@python.org/thread/CV4NE6AF…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning