Black: GitHub Action installs unvalidated required-version from pyproject.toml
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| psf | black | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Psf | Black |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cg8m-r9f2-5wm2 | Black: GitHub Action installs unvalidated required-version from pyproject.toml |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.404% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Psf
Psf black |
|
| Vendors & Products |
Psf
Psf black |
| 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
|