THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-cg8m-r9f2-5wm2 (high) — Black: GitHub Action installs unvalidated required-version from pyproject.toml

[GHSA] GHSA-cg8m-r9f2-5wm2 (high) — Black: GitHub Action installs unvalidated required-version from pyproject.toml

medgithub_advisoriesPublished 2026-10-22

GHSA-cg8m-r9f2-5wm2 Severity: high CVE: CVE-2026-114134

Black: GitHub Action installs unvalidated required-version from pyproject.toml

### Summary

The GitHub Action bundled with Black can read the version from `tool.black.required-version` if `use_pyproject` is set to True. This version is not validated and therefore can be used to execute untrusted code in the context of a victim's repository.

Indicators of compromise

Original source: https://github.com/advisories/GHSA-cg8m-r9f2-5wm2