SB20261125102 - Input validation error in black
Published: November 25, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Input validation error (CVE-ID: CVE-2026-31900)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: 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]
The vulnerability allows a remote attacker to execute arbitrary code in the Black GitHub Action and potentially access secrets or use permissions available to the workflow.
The vulnerability exists due to improper version validation in the Black GitHub Action when it reads the formatter version from repository configuration. A remote attacker can submit a pull request with untrusted dependency metadata to cause the action to run code from an untrusted source.
Remediation
Install update from vendor's website.