CVE-2026-32274: psf black Path Traversal
Vulnerability summary
CVE-2026-32274 is a high (CVSS 8.7) Path Traversal vulnerability in psf black. EPSS estimates a 0.74% chance of exploitation in the next 30 days, higher than 53.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 3 · Related 4Timeline
- 12-03-2026PublishedVulnerability first disclosed.
- 03-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
10 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.74%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.12 pp
From 0.62% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard4 products
- kserve-storage-controller< 0.16.0-r22
- label-studio< 1.23.0-r0
- nemo< 2.7.0-r2
- open-webui< 0.8.10-r1
Opensuse2 products
- ansible-lint&distro=openSUSE Tumbleweed< 26.9.0-1.1
- python-black&distro=openSUSE Leap 15.6< 24.3.0-150400.9.11.1
Wolfi2 products
- kserve-storage-controller< 0.16.0-r22
- open-webui< 0.8.10-r1
Debian1 product
- blackAll versions (No fix recorded) | < 25.1.0-3+deb13u1 | < 26.3.1-1
Psf1 product
- black≥ 24.3.0, < 26.3.1
PyPI1 product
- black≥ 24.3.0, < 26.3.1 | < 26.3.1
Python1 product
- black< 26.3.1
Ubuntu1 product
- blackAll versions (No fix recorded)
8 vendors · 13 products
References
22 links- github.com/psf/black/security/advisories/GHSA-3936-cmfr-pm3mX Refsource CONFIRMWEBAdvisoryREPORTVendor Advisory
Show all 22 references
- github.com/pypa/advisory-database/tree/main/vulns/black/PYSEC-2026-2121.yamlX Refsource MISCWEBAdvisory
- github.com/psf/blackPACKAGE