Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-0864

Опубликовано: 23 июн. 2026
Источник: redhat
CVSS3: 5.5
EPSS Низкий

Описание

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.

A flaw was found in the Python configparser module. When writing configuration files, an attacker who controls the input value can inject unexpected keys and values. This occurs if the input contains multi-line text with carriage return characters, leading to potential configuration manipulation.

Отчет

This flaw in the Python configparser module allows for configuration injection. When an application utilizes configparser to write multi-line input containing carriage return characters that are controlled by an attacker, arbitrary keys and values can be injected into the configuration file. This risk is present only in applications that process and write untrusted multi-line input directly to configuration files.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Fix deferred
Red Hat Enterprise Linux 10python3.12Fix deferred
Red Hat Enterprise Linux 10python3.14Not affected
Red Hat Enterprise Linux 6pythonFix deferred
Red Hat Enterprise Linux 7pythonFix deferred
Red Hat Enterprise Linux 7python3Fix deferred
Red Hat Enterprise Linux 8python3Fix deferred
Red Hat Enterprise Linux 8python3.12Not affected
Red Hat Enterprise Linux 8python36Fix deferred
Red Hat Enterprise Linux 9python3.12Fix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-93
https://bugzilla.redhat.com/show_bug.cgi?id=2491892python: cpython: Python configparser: Configuration injection via crafted multi-line input

EPSS

Процентиль: 2%
0.00126
Низкий

5.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.5
ubuntu
5 месяцев назад

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.

CVSS3: 5.5
nvd
5 месяцев назад

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.

msrc
4 месяца назад

Configuration Injection via Carriage Return (\r) in write() method

CVSS3: 5.5
debian
5 месяцев назад

When using the "configparser" module to write configuration files cont ...

redos
6 дней назад

Уязвимость python3.11

EPSS

Процентиль: 2%
0.00126
Низкий

5.5 Medium

CVSS3