CVE-2026-0864

MEDIUM CVSS 4.0: 4.1 EPSS 0.13%
Updated Oct 26, 2026
Python
Parameter Value
CVSS 4.1 (MEDIUM)
Affected Versions 3.11.0 — 3.14.7
Fixed In 3.10.21
Type CWE-74 (Injection)
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
High
Admin privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 16

Configuration From (including) Up to (excluding)
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
— 3.10.21
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.11.0 3.11.16
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.12.0 3.12.14
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.13.0 3.13.15
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.14.0 3.14.7
Python Python
cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:*
— —
Python Python
cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:*
— —