CVE Catalog

CVE-2026-0864

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

2th percentile - higher than 2% of all known CVEs

Summary

The 'configparser' module in Python, when writing configuration files containing multi-line text values with carriage return characters (\r), can allow injection of unexpected keys and values if the attacker controls the written value.

Risk Assessment

An attacker can manipulate configuration files by injecting fake settings, potentially leading to unauthorized access or system configuration changes.

Recommendation

Avoid writing attacker-controlled values using the configparser module without proper input sanitization. Consider using alternative configuration serialization methods.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS