cvedb.io
CVE-2026-32274
HIGH · CVSS 7.5
EPSS exploitation probability: 0%
Published 2026-03-12T20:16:06.350 · Last modified 2026-06-30T03:18:30.070

Summary

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.

Affected products

python — black

Does this affect you?

Add your gear to cvedb and we'll alert you only when python ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.