CVE-2026-0864

Severity CVSS v4.0:
MEDIUM
Type:
CWE-74 Injection
Publication date:
23/06/2026
Last modified:
25/10/2026

Description

When using the "configparser" module to write configuration files<br /> containing multi-line text values with carriage return characters (\r) the<br /> resulting file could be injected with unexpected keys and values if the<br /> attacker controls the written value.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.10.21 (excluding)
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.11.0 (including) 3.11.16 (excluding)
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.12.0 (including) 3.12.14 (excluding)
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.13.0 (including) 3.13.15 (excluding)
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.14.0 (including) 3.14.7 (excluding)
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:*:*:*:*:*:*