VDB

DEBIAN-CVE-2026-32274

DEBIAN-CVE-2026-32274 PUBLISHED CVSS 7.5 HIGH

Black is the uncompromising Python code formatter. Prior to 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.

Risk Scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected Products

VendorProductVersions
Debian:11black25.12.0-1, 20.8b1-4, 21.10b0-1
Debian:13black26.3.1-1, 25.1.0-3, 0
Debian:12black26.3.1-1, 24.4.0-2, 24.4.2-1
Debian:14black25.12.0-2, 25.9.0-1, 26.1.0-1

Exploit Intelligence

Timeline

  • Mar 12, 2026 CVE Published
  • May 16, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›