CVE-2026-0864
Configuration Injection via Carriage Return (\r) in write() method
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.
INFO
Published Date :
June 23, 2026, 5:42 p.m.
Last Modified :
June 23, 2026, 5:56 p.m.
Remotely Exploit :
No
Source :
PSF
Affected Products
The following products are affected by CVE-2026-0864
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | MEDIUM | 28c92f92-d60d-412d-b760-e73465c3df22 |
Solution
- Avoid writing user-controlled multi-line values.
- Sanitize input values to remove carriage returns.
- Validate configuration file content after writing.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-0864 vulnerability anywhere in the article.