VulnerabilityAnalyzed
CVE-2026-0864
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.
MEDIUM 4.1EPSS 0.13%
Does this matter?
Lower severity and a low EPSS score (0.13%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 4.0
- 4.1 MEDIUMCVSS: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/M
- EPSS
- 0.13% probability · 3th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- python/python
- Source
- cna@python.org
References
- https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528Patch
- https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74ddPatch
- https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908Patch
- https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851fPatch
- https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98Patch
- https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8Patch
- https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6Patch
- https://github.com/python/cpython/issues/143927Issue Tracking, Patch
- https://github.com/python/cpython/pull/151559Issue Tracking, Patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/Mailing List, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.