black vulnerabilities
The uncompromising code formatter.
- Registry
- PyPI
- Latest
- 26.10.1
- License
- MIT
4 known advisories
The latest version, 26.10.1, is not affected by any of them. Projects on older versions may be.
pip install 'black>=26.10.1'Is your project on an affected black?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for black
Black: GitHub Action installs unvalidated required-version from pyproject.toml
- Affected
- <26.10.1
- Fixed in
- 26.10.1
Black: Arbitrary file writes from unsanitized user input in cache file name
- Affected
- >=24.3.0 <26.3.1
- Fixed in
- 26.3.1
No summary published
- Affected
- <26.3.0
- Fixed in
- 26.3.0
Black vulnerable to Regular Expression Denial of Service (ReDoS)
- Affected
- <24.3.0
- Fixed in
- 24.3.0
Is your black version vulnerable?
- black 26.10No known advisories in 26.10.1
- black 26.51 advisory in 26.5.1
- black 26.31 advisory in 26.3.1
- black 26.13 advisories in 26.1.0
- black 25.123 advisories in 25.12.0
- black 25.113 advisories in 25.11.0
- black 25.93 advisories in 25.9.0
- black 25.13 advisories in 25.1.0
- black 24.103 advisories in 24.10.0
- black 24.83 advisories in 24.8.0
- black 24.43 advisories in 24.4.2
- black 24.33 advisories in 24.3.0
- black 24.23 advisories in 24.2.0
- black 24.13 advisories in 24.1.1
Which of your client projects still run an old black?
NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other PyPI packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.