CVE-2026-0864
MEDIUM 4.1CVSS 4.0When 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
< 3.10.21 | 3.10.21 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.11.0, < 3.11.16 | 3.11.16 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.12.0, < 3.12.14 | 3.12.14 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.13.0, < 3.13.15 | 3.13.15 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.14.0, < 3.14.7 | 3.14.7 |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:* |
= 3.15.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:* |
= 3.15.0 |
References
- https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528 · Patch
- https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd · Patch
- https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908 · Patch
- https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f · Patch
- https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98 · Patch
- https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8 · Patch
- https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6 · Patch
- https://github.com/python/cpython/issues/143927 · Issue Tracking, Patch
- https://github.com/python/cpython/pull/151559 · Issue Tracking, Patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/ · Mailing List, Vendor Advisory
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)