Is black 25.12 vulnerable?

PyPI · 1 release from 25.12.0 to 25.12.0 · latest black is 26.10.1 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. black 25.12.0, the last 25.12 release, is affected by 3 known security advisories (2 high, 1 low), including CVE-2026-114134, CVE-2026-32274, CVE-2026-31900. Upgrade to 26.10.1 or later to fix all of them.

Upgrade with:pip install 'black>=26.10.1'

Is your project on an affected black?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting black 25.12.0

  • HighCVE-2026-114134GHSA-cg8m-r9f2-5wm222 Oct 2026

    Black: GitHub Action installs unvalidated required-version from pyproject.toml

    Affected
    <26.10.1
    Fixed in
    26.10.1
  • HighCVE-2026-32274GHSA-3936-cmfr-pm3m12 Mar 2026

    Black: Arbitrary file writes from unsanitized user input in cache file name

    Affected
    >=24.3.0 <26.3.1
    Fixed in
    26.3.1
  • LowCVE-2026-31900PYSEC-2026-212011 Mar 2026

    No summary published

    Affected
    <26.3.0
    Fixed in
    26.3.0

Which of your client projects are still on black 25.12?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact black version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other black versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.