Black is the uncompromising Python code formatter. Prior to 26.10.1, the Black GitHub Action with use_pyproject: true accepts tool.black.required-vers...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12black |
All versions→ Not listed |
Not listed |
| Debian:13black |
All versions→ Not listed |
Not listed |
| Debian:14black |
< 26.10.1-1→ 26.10.1-1 |
26.10.1-1 |
Original description The description as published by the source.
Black is the uncompromising Python code formatter. Prior to 26.10.1, the Black GitHub Action with use_pyproject: true accepts tool.black.required-version from pyproject.toml without validating that it is a released Black version specifier. An attacker who can submit a pull request can change that field to a direct reference to attacker-controlled code, causing the workflow to install and execute the code in the victim repository's GitHub Actions context. This issue is fixed in version 26.10.1.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org