PT-2026-24654

CVE-2026-31900

·

Published

2026-03-07

·

Updated

2026-09-23

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Black versions prior to 26.3.0
Description Black is a Python code formatter that provides a GitHub action for code formatting. The action supports an option, use pyproject: true, to read the Black version from the repository's pyproject.toml file. A malicious pull request could modify pyproject.toml to reference a malicious repository directly. This could result in arbitrary code execution within the GitHub Action's context, potentially allowing attackers to access secrets or permissions available to the action.
Recommendations Versions prior to 26.3.0 should be updated to version 26.3.0 or later. Do not use the use pyproject: true option in the psf/black GitHub Action.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-V53H-F6M7-XCGM
CLEANSTART-2026-DV70312
OPENSUSE-SU-2026:10372-1
OPENSUSE-SU-2026:20417-1
PYSEC-2026-2120
SUSE-SU-2026:20928-1
Found an issue in the description? Have something to add? Feel free to write us 👾