CVE-2026-31900 affects the Black GitHub Action, where a vulnerability in its `use_pyproject: true` option allows a malicious pull request to direct the action to use a Black version from a malicious repository. This CRITICAL vulnerability, with a CVSS score of 9.8, enables arbitrary code execution within the GitHub Action's context, potentially compromising secrets and permissions. The attack is network-based with low complexity. There is currently no evidence of active exploitation, nor are public exploit tools or significant community discussion available for this vulnerability.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 26.3.0CPE matchmatch criteria | cpe:2.3:a:python:black:*:*:*:*:*:*:*:* |
CVSS version used by this source: 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.