CVE-2026-32274: Black is the uncompromising Python code formatter
Affects blackSource GCVE Database
Not known to be exploited · CVSS 8.7 High · fixed in 26.3.1 : patch black soon.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 26.3.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10blackpkg:deb/ubuntu/black?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSblackpkg:deb/ubuntu/black?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10blackpkg:deb/ubuntu/black?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSblackpkg:deb/ubuntu/black?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSblackpkg:deb/ubuntu/black?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSblackpkg:deb/ubuntu/black?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.