Input validation error in black - CVE-2026-114134

 

Input validation error in black - CVE-2026-114134

Published: November 25, 2026


Vulnerability identifier: #VU170303
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-114134
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code in the context of a victim's GitHub Actions workflow.

The vulnerability exists due to improper input validation in Black's GitHub Action when it uses the tool.black.required-version setting from pyproject.toml to select what to install with use_pyproject enabled. A remote attacker can submit a pull request containing a crafted project configuration to execute arbitrary code if the workflow processes the changed configuration.


Affected software

black

How to mitigate CVE-2026-114134

Install security update from vendor's website.

black - update to 26.10.1

External References