# CVE-2026-114134: Black: GitHub Action installs unvalidated required-version from pyproject.toml

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-10-22T16:18:57.000Z
- Modified: 2026-11-12T22:18:35.610Z
- Also known as: GHSA-cg8m-r9f2-5wm2
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- psf black: < 26.10.1
- black (PyPI): before 26.10.1

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/psf/black/security/advisories/GHSA-cg8m-r9f2-5wm2> (web)
- <https://github.com/psf/black/pull/5510> (web)
- <https://github.com/psf/black/commit/ac1f71563aeccf73cf13ece00f231d9d6c66a514> (web)
- <https://github.com/psf/black> (package)
- <https://github.com/psf/black/releases/tag/26.10.1> (web)

## Sources

- CVE List: [CVE-2026-114134](https://www.cve.org/CVERecord?id=CVE-2026-114134), CVE Terms of Use, modified 2026-11-09
- GitHub Advisory Database: [GHSA-cg8m-r9f2-5wm2](https://github.com/advisories/GHSA-cg8m-r9f2-5wm2), CC-BY-4.0, modified 2026-10-22
- NVD: [CVE-2026-114134](https://nvd.nist.gov/vuln/detail/CVE-2026-114134), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-114134 · Whole record: https://cve.day/CVE-2026-114134.json · Rebuilt by cve.day 2026-11-25T22:59:49.183Z
