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.
Project Subscriptions
No data.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cg8m-r9f2-5wm2 | Black: GitHub Action installs unvalidated required-version from pyproject.toml |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 05 Nov 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Black: GitHub Action installs unvalidated required-version from pyproject.toml | |
| Weaknesses | CWE-829 | |
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-11-05T20:22:14.467Z
Reserved: 2026-10-20T21:53:58.473Z
Link: CVE-2026-114134
No data.
Status : Received
Published: 2026-11-05T21:18:36.887
Modified: 2026-11-05T21:18:36.887
Link: CVE-2026-114134
No data.
OpenCVE Enrichment
No data.
Weaknesses
Github GHSA