← sources

NVD CVE: CVE-2026-114134 — 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 p

source: nvd (nvd:github)published 2026-11-05 21:18ingested 2026-11-06 02:34

retained text

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.
References: https://github.com/psf/black/commit/ac1f71563aeccf73cf13ece00f231d9d6c66a514 https://github.com/psf/black/pull/5510 https://github.com/psf/black/security/advisories/GHSA-cg8m-r9f2-5wm2

document fetched 2026-11-06 02:34