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

exploitDog

redhat логотип

CVE-2026-32274

Опубликовано: 12 мар. 2026
Источник: redhat
CVSS3: 7.5

Описание

A user input sanitization flaw has been discovered in the Black python code formatter. Black writes a cache file, the name of which is computed from various formatting options. The value of the --python-cell-magics option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations.

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

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.

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

ПлатформаПакетСостояниеРекомендацияРелиз
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/ansible-dev-tools-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/ee-minimal-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/ee-supported-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/hub-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/platform-resource-runner-rhel9Affected
Red Hat Ansible Automation Platform Ansible Core 2ansible-automation-platform/ee-minimal-rhel8Affected

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

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

Статус:

Important
Дефект:
CWE-22
https://bugzilla.redhat.com/show_bug.cgi?id=2447111black: Black: Arbitrary file writes from unsanitized user input in cache file name

7.5 High

CVSS3

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

CVSS3: 7.5
ubuntu
14 дней назад

Black is the uncompromising Python code formatter. Prior to 26.3.1, Black writes a cache file, the name of which is computed from various formatting options. The value of the --python-cell-magics option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations. Fixed in Black 26.3.1.

CVSS3: 7.5
nvd
14 дней назад

Black is the uncompromising Python code formatter. Prior to 26.3.1, Black writes a cache file, the name of which is computed from various formatting options. The value of the --python-cell-magics option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations. Fixed in Black 26.3.1.

CVSS3: 7.5
debian
14 дней назад

Black is the uncompromising Python code formatter. Prior to 26.3.1, Bl ...

suse-cvrf
14 дней назад

Security update for python-black

github
15 дней назад

Black: Arbitrary file writes from unsanitized user input in cache file name

7.5 High

CVSS3