Read the docs
TI-2026-24803 Aliases CVE-2026-32274GHSA-3936-cmfr-pm3m

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

Priority MEDIUM 45CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 4 fixed, 4 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00691 53rd percentileScored 2026-11-07
Fix Partial black (psf): 26.3.1black (PyPI): 26.3.1Red Hat: 4 advisoriesRed Hat: 4 fixed, 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
python-pillowblack24.3.0 to before 26.3.126.3.1Patch availableCNA
—black (PyPI)24.3.0 to before 26.3.126.3.1Patch availableGHSA-3936-cmfr-pm3m
  • black Vendorpython-pillow Affected 24.3.0 to before 26.3.1 Fixed in 26.3.1 Patch available CNA
  • black (PyPI) Vendor— Affected 24.3.0 to before 26.3.1 Fixed in 26.3.1 Patch available GHSA-3936-cmfr-pm3m

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:python:black:*:*:*:*:*:python:*:*before 26.3.1Vulnerablepython-pillow
  • cpe:2.3:a:python:black:*:*:*:*:*:python:*:* Versions before 26.3.1 Vulnerable ·python-pillow

Remediation

  • Fix · CNA black (psf) Fixed in 26.3.1
  • Fix · GHSA-3936-cmfr-pm3m black (PyPI) Fixed in 26.3.1 Advisory →

Red Hat 4 advisories

  • RHSA-2026:73987 Released 2026-09-30 · Red Hat rating Critical
    RHOAI 3.3.7 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 3.3 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel9 +47
  • RHSA-2026:13553 Released 2026-05-04 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.5 Container Release Update
    • Red Hat Ansible Automation Platform 2.5 registry.redhat.io/ansible-automation-platform-25/ee-supported-rhel8, registry.redhat.io/ansible-automation-platform-25/gateway-rhel8, registry.redhat.io/ansible-automation-platform-25/hub-rhel8 +2
  • RHSA-2026:13545 Released 2026-05-04 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.6 Container Release Update
    • Red Hat Ansible Automation Platform 2.6 registry.redhat.io/ansible-automation-platform-26/ansible-dev-tools-rhel9, registry.redhat.io/ansible-automation-platform-26/controller-rhel9, registry.redhat.io/ansible-automation-platform-26/eda-controller-rhel9 +11
Show 1 more Red Hat advisories
  • RHSA-2026:10184 Released 2026-04-23 · Red Hat rating Important
    RHOAI 2.25.5 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-caikit-nlp-rhel9, registry.redhat.io/rhoai/odh-caikit-tgis-serving-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9 +47

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift LightspeedAffectedNo fix yet
Red Hat Ansible Automation Platform Ansible Core 2AffectedNo fix yet
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet
Red Hat OpenShift Virtualization 4AffectedNo fix planned: Will not fix
Red Hat Ansible Automation Platform 2.5Fixed RHSA-2026:13553
Red Hat Ansible Automation Platform 2.6Fixed RHSA-2026:13545
Red Hat OpenShift AI 2.25Fixed RHSA-2026:10184
Red Hat OpenShift AI 3.3Fixed RHSA-2026:73987
Not affected: 6 products
  • Red Hat Ansible Automation Platform 2
  • Red Hat Ansible Automation Platform 2.5
  • Red Hat Ansible Automation Platform 2.6
  • Red Hat OpenShift AI (RHOAI)
  • Red Hat OpenShift AI 2.25
  • Red Hat OpenShift AI 3.3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-32274
  2. 2026-10-03 Alias added: GHSA-3936-cmfr-pm3m
  3. 2026-10-07 Fix available: RHSA-2026:73987 · Red Hat
  4. 2026-10-25 EPSS moved to the below the 50th percentile
  5. 2026-10-27 EPSS moved to the 50th–90th percentile

References

  • TI-2026-24452 Black's vulnerable version parsing leads to RCE in GitHub Action CVSS 4.0HIGH 8.7

Sources