Review reviewHigh

CVE-2026-32274

psf black, Red Hat Ansible Automation Platform 2.5, Red Hat Ansible Automation Platform 2.6

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.

CVSS
8.7
EPSS
0.62%
46.3% percentile
CISA KEV
Not listed
Published
2026.03.13
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.62%
Technical severityCVSS 8.7

Vulnerability overview

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.

Affected product and versions

Product
psf black, Red Hat Ansible Automation Platform 2.5, Red Hat Ansible Automation Platform 2.6
Affected versions
>= >= 24.3.0, < 26.3.1
Fixed versions
26.3.1

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that psf black, Red Hat Ansible Automation Platform 2.5, Red Hat Ansible Automation Platform 2.6 and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE
CWE-22
CVE-2026-32274 — psf black, Red Hat Ansible Automation Platform 2.5, Red Hat Ansible Automation Platform 2.6 | SECUFOCUS NOW