black has 3 CVEs on record between 2024 and 2026. The median CVSS is 7.5 (high), with 1 rated critical.
CVEs per month
Last 12 months, by publish date
1025/101125/111225/120126/010226/020326/030426/040526/050626/060726/070826/080926/09
- Exploited share
- 0% vs 1% corpus
- Median CVSS
- 7.5
- Publish → KEV
- —
- Last 90 days
- 0 prev 0
Products
- black 3
3
Total CVEs
1
Critical
0
CISA KEV
0
Exploited
Worst active — by depth score
CVE-2026-31900Critical· 9.8Black is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, us…66CVE-2026-32274High· 7.5Black: Arbitrary file writes from unsanitized user input in cache file name41CVE-2024-21503Medium· 5.3Black vulnerable to Regular Expression Denial of Service (ReDoS)29
black vulnerabilities
CVEs affecting black, newest first. Open any entry for full detail, references, and exploit status.
3 CVEsRSS
CVE-2026-32274High· 7.5Black: Arbitrary file writes from unsanitized user input in cache file name
Black: Arbitrary file writes from unsanitized user input in cache file name
▾ Twilightblack · blackEPSS 0.62%via OSV
CVE-2026-31900Critical· 9.8PoCBlack is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, us…
Black is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, use_pyproject: true, for reading the version of Black to use from the repository pyproject.toml. A mal…
▾ Abyssalblack · blackEPSS 0.46%via OSV
CVE-2024-21503Medium· 5.3Black vulnerable to Regular Expression Denial of Service (ReDoS)
Black vulnerable to Regular Expression Denial of Service (ReDoS)
▾ Sunlitblack · blackEPSS 0.98%via OSV