CVE-2026-31900

black: Black is the uncompromising Python code formatter

CVE-2026-31900 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-31900, released March 11, 2026. It is not reported as exploited. Patch Radar priority: Urgent.

Urgent
CVSS
9.8
critical
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0052
44th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
black · Debian 14 26.3.1-1 DEBIAN-CVE-2026-31900 Mar 11, 2026
python-black · opensuse-leap 16.0 25.1.0-160000.3.1 OPENSUSE-SU-2026:20417-1 Mar 24, 2026
python-black · sles 16.0 25.1.0-160000.3.1 SUSE-SU-2026:20928-1 Mar 24, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.