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.

Credits

D0n9 (https://github.com/D0n9)
Petr Viktorin (https://github.com/encukou)
Seth Larson (https://github.com/sethmlarson)

References