Back
CVE-2026-0864Configuration Injection via Carriage Return (\r) in write() method
- 4.1MediumCVSS base score
- 0.13%Exploitation in 30 daysEPSS · top 98% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By PSF
- 5 months later
· 5 months later
Published
- 51 days later
· 51 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| PSFCNA (assigner) | 4.0 | Medium4.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 |
| NVDNVD · Analyzed | 4.0 | Medium4.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 |
- EPSS (exploitation in 30 days)
- 0.13% · top 98% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.1.
Affected products
Python Software Foundation · CPython
- affected < 3.10.21
- affected 3.11.0 – < 3.11.16
- affected 3.12.0 – < 3.12.14
- affected 3.13.0 – < 3.13.15
- affected 3.14.0 – < 3.14.7
- affected 3.15.0a1 – < 3.15.0b4
References
References10
- https://github.com/python/cpython/pull/151559 (opens in a new tab)patch
- https://mail.python.org/archives/list/[email protected]/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/ (opens in a new tab)vendor-advisory
- https://github.com/python/cpython/issues/143927 (opens in a new tab)issue-tracking
- https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f (opens in a new tab)patch
- https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528 (opens in a new tab)patch
- https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98 (opens in a new tab)patch
- https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8 (opens in a new tab)patch
- https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6 (opens in a new tab)patch
- https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd (opens in a new tab)patch
- https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908 (opens in a new tab)patch
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-38554 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-0864)Record last updated .