CVE-2026-0864

MEDIUMCVSS 5.5/10EPSS 0.14%

Last modified

CVE-2026-0864 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.

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.

Metrics

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
PythonPython< 3.10.21—
PythonPython>= 3.11.0, < 3.11.16—
PythonPython>= 3.12.0, < 3.12.14—
PythonPython>= 3.13.0, < 3.13.15—
PythonPython>= 3.14.0, < 3.14.7—
PythonPython3.15.0Alpha1

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is 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.
How severe is CVE-2026-0864?
CVE-2026-0864 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 0.14% probability of exploitation in the next 30 days.
How do I fix CVE-2026-0864?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-0864?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST