CVE-2026-32274
python black
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.5
- Severity
- 7.5
- EPSS
- 0.7 %
- Percentile
- 54
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run python black. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDBlack 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.
- Vendor / product
- python black
- Published
- 12.03.2026
- Modified
- 03.08.2026
- CWE
- CWE-22
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Vendor updates
6- Red Hat: RHSA-2026:73987 – RHSA-2026:73987 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:bf08b9713fb677f4b3605c29ac85fcabc4d41d085b6053 … 30.09.2026 · Patch day
- Red Hat: RHSA-2026:13553 – RHSA-2026:13553 registry.redhat.io/ansible-automation-platform/platform-operator-bundle@sha256:852e458ce23c8af67551f7e24cc … 04.05.2026 · Patch day
- Red Hat: RHSA-2026:13545 – RHSA-2026:13545 registry.redhat.io/ansible-automation-platform/platform-operator-bundle@sha256:215c88d99678221d3e885596b52 … 04.05.2026 · Patch day
- Red Hat: RHSA-2026:10184 – RHSA-2026:10184 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:39644ca034be600549ce9a4e200e3e8f1454ea282bd462 … 23.04.2026 · Patch day
- SUSE: SUSE-SU-2026:20928-1 – Security update for python-black 01.04.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:0900-1 – Security update for python-black 16.03.2026 · HIGH · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.