GHSA-3936-cmfr-pm3m · Severity: high · Ecosystem: pip — Black: Arbitrary file writes from unsanitized user input in cache file name
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.
Conclusion & alert: CVE-2026-32274 is rated Low Risk (36.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-13 | — | 0.02% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.7 | 4.0 | HIGH |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-3936-cmfr-pm3m · Severity: high · Ecosystem: pip — Black: Arbitrary file writes from unsanitized user input in cache file name
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-32274 not yet assigned priority: Debian including 1 source packages (black), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. | https://security-tracker.debian.org/tracker/CVE-2026-32274 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-32274 |
suse
|
medium | CVE-2026-32274 severity moderate: SUSE including 19 source package names (13.2-9.31:libzypp-17.37.17-1.1, 2.1.3-7.47:libzypp-17.37.17-1.1, …), 138 product×package rows across 37 product lines (Container suse/sl-micro/6.0/baremetal-os-container, Container suse/sl-micro/6.0/base-os-container, … (37 product lines)): Fixed 137, First Fixed 1. | https://www.suse.com/security/cve/CVE-2026-32274/ |
ubuntu
|
medium | CVE-2026-32274 medium priority: Ubuntu including 1 source packages (black), 5 status rows across 5 suites (focal, jammy, noble, questing, upstream): needs-triage 5. | https://ubuntu.com/security/CVE-2026-32274 |
| URL | Tags |
|---|---|
| https://github.com/psf/black/commit/4937fe6cf241139ddbfc16b0bdbb5b422798909d | Patch |
| https://github.com/psf/black/pull/5038 | Issue Tracking Patch |
| https://github.com/psf/black/releases/tag/26.3.1 | Release Notes |
| https://github.com/psf/black/security/advisories/GHSA-3936-cmfr-pm3m | Vendor Advisory |