Security mailing lists by PureSourceCode

CVE-2026-114134

HIGH 8.7CVSS 4.0

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

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.

Published
5 Nov 2026
Last modified
12 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-829
Also known as
GHSA-cg8m-r9f2-5wm2
Sources
NVDJSONOSV GHSA-cg8m-r9f2-5wm2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.7 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI black < 26.10.1 26.10.1

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 5 Nov 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.