// Security Advisory Triage

Black GitHub Action installs unvalidated versions from pyproject.toml

GitHub advisories — pip · published 2026-10-23 04:56 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDCVE-2026-114134 published 22 October 2026. Black's GitHub Action reads required-version from pyproject.toml and installs it without validation. Patched in version 26.10.1.
WHY IT MATTERSAn attacker who can modify pyproject.toml in a pull request can force the Action to install an arbitrary Python package version, executing malicious code in your CI pipeline with repository secrets and write access.
WHAT TO DOUpdate the Black GitHub Action to version 26.10.1 or later in all workflows. Audit recent pull requests that modified pyproject.toml for suspicious version specifications.
Model-reported confidence 95% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-cg8m-r9f2-5wm2
+summary: Black: GitHub Action installs unvalidated required-version from pyproject.toml
+severity: high
+published_at: 2026-10-22T16:18:57Z
+cve_id: CVE-2026-114134
+vulnerabilities[].package.name: black
+vulnerabilities[].first_patched_version: 26.10.1
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningBlack is a standard Python dev tool in CI/CD pipelines. GitHub Action exploitation vector is actionable this week.
signalsknown exploitation vector: GitHub Action · affected package: black (Python formatter in dependency trees) · severity: high · new CVE and advisory published · patched version available: 26.10.1 · vulnerability class: unvalidated version installation from config file
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)