black Known Vulnerabilities & Fixes
black has 3 known security vulnerabilities in PyPI (Python). Upgrade to version 26.10.1 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 26.10.1
Upgrading to 26.10.1 or later resolves all 3 known vulnerabilities in black. Run: pip install "black>=26.10.1"
Is black in your project?
Check if you're affected and upgrade to 26.10.1 to stay secure.
Security Summary
- 4 affected version ranges have been identified across these 3 advisories.
- 100% of known issues have a published fixed version.
- Highest exploit-probability (EPSS) score for black: 0.8%.
- Remediation: pip install --upgrade black
Vulnerabilities
3 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Mar 11, 2026, most recently Oct 22, 2026 (225 days apart).
| CVE / GHSA | Severity |
|---|---|
| CVE-2026-32274 Black: Arbitrary file writes from unsanitized user input in cache file name
| HIGH |
CVE-2026-31900
| CRITICAL |
| CVE-2026-114134 Black: GitHub Action installs unvalidated required-version from pyproject.toml
| HIGH |
About This Data
Vulnerability data for black is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related PyPI (Python) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of black.