8.7Yüksek

CVE-2026-32274Black: Arbitrary file writes from unsanitized user input in cache file name

psf black; Red Hat Red Hat Ansible Automation Platform 2.5; Red Hat Red Hat Ansible Automation Platform 2.6; Red Hat Red Hat OpenShift AI 2.25 Yayım: (8 ay önce)

Açıklama

Black is the uncompromising Python code formatter. Starting in version 24.3.0 and prior to version 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.

Zayıflık türü (CWE): CWE-22

Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.

Etkilenen ürünler ve sürümler

ÜreticiÜrünSürümler
ansible automation platform 2.5 —
ansible automation platform 2.6 —
openshift ai 2.25 —
psf black >= 24.3.0, < 26.3.1
python black < 26.3.1
Red Hat OpenShift Lightspeed all versions
Red Hat Red Hat Ansible Automation Platform 2 —
Red Hat Red Hat Ansible Automation Platform 2.5 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 all versions
Red Hat Red Hat Ansible Automation Platform Ansible Core 2 all versions
Red Hat Red Hat OpenShift AI 2.25 all versions
Red Hat Red Hat OpenShift AI (RHOAI) all versions
Red Hat Red Hat OpenShift Virtualization 4 all versions

Kaynaklar ve yamalar

CPE eşleşmeleri (NVD) (1)

  • cpe:2.3:a:python:black:*:*:*:*:*:python:*:* < 26.3.1