When using the "configparser" module to write...
Moderate severity
Unreviewed
Published
Jun 23, 2026
to the GitHub Advisory Database
•
Updated Aug 18, 2026
Description
Published by the National Vulnerability Database
Jun 23, 2026
Published to the GitHub Advisory Database
Jun 23, 2026
Last updated
Aug 18, 2026
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.
References