← Retour aux CVEs
CVE-2026-32274
HIGH7.5
Description
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.
Details CVE
Score CVSS v3.17.5
SeveriteHIGH
Vecteur CVSSCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Vecteur d'attaqueNETWORK
ComplexiteLOW
Privileges requisNONE
Interaction utilisateurNONE
Publie3/12/2026
Derniere modification3/18/2026
Sourcenvd
Observations honeypot0
Produits affectes
python:black
Faiblesses (CWE)
CWE-22
References
https://github.com/psf/black/commit/4937fe6cf241139ddbfc16b0bdbb5b422798909d(security-advisories@github.com)
https://github.com/psf/black/pull/5038(security-advisories@github.com)
https://github.com/psf/black/releases/tag/26.3.1(security-advisories@github.com)
https://github.com/psf/black/security/advisories/GHSA-3936-cmfr-pm3m(security-advisories@github.com)
Correlations IOC
Aucune correlation enregistree
This product uses data from the NVD API but is not endorsed or certified by the NVD.