Install
black
The uncompromising code formatter.
26.10.1Latest, 10 Oct 2026
11MDownloads, last month
0Advisories on the latest
6Advisories, all versions
MITLicence
42KStars
7.8/10OpenSSF Scorecard
Source · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | Black: GitHub Action installs unvalidated required-version from pyproject.toml CVE-2026-114134 | Fixed in 26.10.1 | 22 Oct 2026 |
| High | Black: Arbitrary file writes from unsanitized user input in cache file name CVE-2026-32274 | Fixed in 26.3.1 | 12 Mar 2026 |
| PYSEC-2026-2121 CVE-2026-32274 | Fixed in 26.3.1 | 12 Mar 2026 | |
| PYSEC-2026-2120 CVE-2026-31900 | Fixed in 26.3.0 | 11 Mar 2026 | |
| Moderate | Black vulnerable to Regular Expression Denial of Service (ReDoS) CVE-2024-21503 | Fixed in 24.3.0 | 19 Mar 2024 |
| PYSEC-2024-48 CVE-2024-21503 | Fixed in 24.3.0 | 19 Mar 2024 |
In the news
- I read NordVPN's pricing page every day for 34 days: one price moved, 13 days before Black Friday dev.to, 3 Dec 2026
- Stop Deploying Black-Box Wasm Binaries: Introducing wasm-audit dev.to, 3 Dec 2026
- Win an Ozzy + Black Sabbath ‘Back to the Beginning’ Deluxe Box Set + T-Shirt ultimateclassicrock.com, 3 Dec 2026
- Luxury spa day worth £91 drops to just £28.99 in Wowcher's Black Friday sale ladbible.com, 3 Dec 2026
- Black Spire Series Ahsoka Tano and ARC Trooper Jesse Figures Set Arrives at Disneyland wdwnt.com, 2 Dec 2026
On Hacker News
- Unveiling the first-ever image of a black hole [video] 2164 points, 489 comments, 10 Apr 2019
- Apple Silicon M1: Black Magic Fuckery 1042 points, 1083 comments, 24 Nov 2020
- Many of Amazon’s Black Friday and Cyber Monday “deals” offered no savings 978 points, 559 comments, 16 Nov 2026
- Katie Bouman, the computer scientist behind the first black hole image 889 points, 470 comments, 11 Apr 2019
Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.