CVE-2026-0864

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductPython
PublishedJun 23, 2026
First seenJun 23, 2026
Weakness typeCWE-74Injection

How to fix

Affected products

ProductAffected versionsFixed in
python pythonv < 3.10.21, 3.11.0 ≤ v < 3.11.16, 3.12.0 ≤ v < 3.12.14, 3.13.0 ≤ v < 3.13.15, 3.14.0 ≤ v < 3.14.7, 3.15.03.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.