Input validation error in black - CVE-2026-114134
Published: November 25, 2026
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.