[ CVE-2026-114134 · Published 5 Nov 2026 ]

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

CVSS 8.7 EPSS <1% Fix available

[ Description ]Official description

Black is the uncompromising Python code formatter. Prior to 26.10.1, the Black GitHub Action with use_pyproject: true accepts tool.black.required-version from pyproject.toml without validating that it is a released Black version specifier. An attacker who can submit a pull request can change that field to a direct reference to attacker-controlled code, causing the workflow to install and execute the code in the victim repository's GitHub Actions context. This issue is fixed in version 26.10.1.

[ Fixes ]How to fix it

  • black 26.10.1Fixed version · GitHub Advisories · pip package black: upgrade to 26.10.1 or later (affected < 26.10.1)

Fixed versions

  • psf black: upgrade to 26.10.1 or laterEarlier versions are listed as affected

From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.

Vendor advisories and patches

[ Packages ]Affected open-source packages