CVE-2026-114134
HIGH 8.7CVSS 4.0Black: GitHub Action installs unvalidated required-version from pyproject.toml
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.
- Published
- 5 Nov 2026
- Last modified
- 12 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-829
- Also known as
- GHSA-cg8m-r9f2-5wm2
- Sources
- NVDJSONOSV GHSA-cg8m-r9f2-5wm2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | black | < 26.10.1 | 26.10.1 |
References
- https://github.com/psf/black/commit/ac1f71563aeccf73cf13ece00f231d9d6c66a514 · WEB
- https://github.com/psf/black/pull/5510 · WEB
- https://github.com/psf/black/security/advisories/GHSA-cg8m-r9f2-5wm2 · WEB
- https://github.com/psf/black · PACKAGE
- https://github.com/psf/black/releases/tag/26.10.1 · WEB
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Oct 2026)