Back to overview

CVE-2026-0864

MEDIUM
4.1
CVSS 4.0
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.

Metadata

CVE ID
CVE-2026-0864
State
PUBLISHED
Assigner
PSF
Reserved
2026-01-12 16:07 UTC
Published
2026-06-23 17:42 UTC
Last updated
2026-06-23 18:34 UTC
Primary CWE
CWE-74
CWE-74 Improper Neutralization of Special Elements in Output…
Vendor / Product
Python Software Foundation / CPython
Sources
cve.org  ·  NVD

Severity & Metrics

4.1 MEDIUM CVSS 4.0
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
SSVC — CISA Coordinator
Exploitation
none
Automatable
no
Tech. Impact
partial
Affected products (1)
VendorProductPlatformVersions
Python Software Foundation CPython 0 < 3.15.0
Weakness (CWE)
CWESourceDescription
CWE-74 adp CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CVSS scores (1)
ScoreSeverityVersionSourceVector
4.1 MEDIUM 4.0 cna CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Back to overview