CVE-2026-114134
Black is the uncompromising Python code formatter. Prior to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/psf/black/security/advisories/GHSA-cg8m-r9f2-5wm2
- github.com/psf/black/pull/5510
- github.com/psf/black/commit/ac1f71563aeccf73cf13ece00f231d9d6c66a514
- github.com/psf/black/releases/tag/26.10.1
- github.com/advisories/GHSA-cg8m-r9f2-5wm2
- nvd.nist.gov/vuln/detail/CVE-2026-114134
- cve.org/CVERecord?id=CVE-2026-114134
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.