Shellfeed logo Shellfeed

CVE-2026-114134 · HIGH

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

EPSS: 0.4% probability of exploitation in the next 30 days (percentile 35.2).

Details

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.

Severity

HIGH — vector 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 packages

  • PyPI black [0 – 26.10.1]
  • GIT github.com/psf/black [0 – 258e7dbf348bc23cb70b8cdf693481c04634ebcc]

References

Posts about CVE-2026-114134