Security mailing lists by PureSourceCode

CVE-2026-0864

MEDIUM 4.1CVSS 4.0

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.

Published
23 Jun 2026
Last modified
25 Oct 2026
Assigned by
cna@python.org
NVD status
Analyzed
Weakness
CWE-74
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@python.org (Secondary) CVSS 4.0 MEDIUM 4.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
< 3.10.21 3.10.21
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.11.0, < 3.11.16 3.11.16
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.12.0, < 3.12.14 3.12.14
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.13.0, < 3.13.15 3.13.15
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.14.0, < 3.14.7 3.14.7
NVD python python
cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*
= 3.15.0
NVD python python
cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*
= 3.15.0
NVD python python
cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*
= 3.15.0
NVD python python
cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*
= 3.15.0
NVD python python
cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*
= 3.15.0
NVD python python
cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*
= 3.15.0
NVD python python
cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*
= 3.15.0
NVD python python
cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*
= 3.15.0
NVD python python
cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:*
= 3.15.0
NVD python python
cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:*
= 3.15.0
NVD python python
cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:*
= 3.15.0

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.