VDB
DEBIAN-CVE-2026-31900
DEBIAN-CVE-2026-31900
PUBLISHED
CVSS 9.800000190734863 CRITICAL
Black is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, use_pyproject: true, for reading the version of Black to use from the repository pyproject.toml. A malicious pull request could edit pyproject.toml to use a direct URL reference to a malicious repository. This could lead to arbitrary code execution in the context of the GitHub Action. Attackers could then gain access to secrets or permissions available in the context of the action. Version 26.3.0 fixes this vulnerability.
Risk Scores
CVSS v3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:13 | black | 0, 26.3.1-1, 26.1.0-1 |
| Debian:14 | black | 25.1.0-3, 26.3.1-1, 26.1.0-1 |
| Debian:12 | black | 25.1.0-3, 0, 23.10.0-1 |
| Debian:11 | black | 24.4.2-2~0exp0, 24.4.2-2, 24.4.2-1 |
Timeline
- Mar 11, 2026 CVE Published
- Apr 28, 2026 CVE Updated