CVE-2026-114134

NameCVE-2026-114134
DescriptionBlack 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
black (PTS)bookworm23.1.0-1vulnerable
trixie25.1.0-3+deb13u1vulnerable
forky, sid26.10.1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
blacksource(unstable)(unfixed)

Notes

https://github.com/psf/black/security/advisories/GHSA-cg8m-r9f2-5wm2
https://github.com/psf/black/pull/5510
https://github.com/psf/black/commit/ac1f71563aeccf73cf13ece00f231d9d6c66a514 (26.10.1)

Search for package or bug name: Reporting problems