CISA list

● PyPI package

black

Black has four security advisories. The newest release any of them names as the fix is 26.10.1.

As of , black has four security advisories. The newest release any of them names as the fix is 26.10.1.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 26.10.126.10.14 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-114134GHSA-cg8m-r9f2-5wm2Black: GitHub Action installs unvalidated required-version from pyproject.tomlHigh severityBefore 26.10.126.10.1
CVE-2026-32274GHSA-3936-cmfr-pm3m, PYSEC-2026-2121Black: Arbitrary file writes from unsanitized user input in cache file nameHigh severityBefore 26.3.126.3.1
CVE-2026-31900PYSEC-2026-2120Black is the uncompromising Python code formatter.Before 26.3.026.3.0
CVE-2024-21503GHSA-fj7x-q9j7-g6q6, PYSEC-2024-48Black vulnerable to Regular Expression Denial of Service (ReDoS)Moderate severityBefore 24.3.024.3.0

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0