GHSA-v53h-f6m7-xcgm · Severity: high · Ecosystem: actions — Black's vulnerable version parsing leads to RCE in GitHub Action
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.
Conclusion & alert: CVE-2026-31900 is rated Moderate Risk (42.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.08%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-21 | 0.18% | 0.08% | -0.11% |
| 2 | 2026-03-17 | 0.12% | 0.18% | +0.07% |
| 3 | 2026-03-12 | — | 0.12% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.7 | 4.0 | HIGH |
|
— | — | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-v53h-f6m7-xcgm · Severity: high · Ecosystem: actions — Black's vulnerable version parsing leads to RCE in GitHub Action
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-31900: 1 source package rows (black); 7 state rows across 2 repos (3.23-community, edge-community); fixed 0, open 7. | https://security.alpinelinux.org/vuln/CVE-2026-31900 |
debian
|
unimportant | CVE-2026-31900 unimportant priority: Debian including 1 source packages (black), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. | https://security-tracker.debian.org/tracker/CVE-2026-31900 |
suse
|
high | CVE-2026-31900 severity important: SUSE including 20 source package names (13.2-9.31:libzypp-17.37.17-1.1, 2.1.3-7.47:libzypp-17.37.17-1.1, …), 139 product×package rows across 37 product lines (Container suse/sl-micro/6.0/baremetal-os-container, Container suse/sl-micro/6.0/base-os-container, … (37 product lines)): Fixed 136, Known Not Affected 2, First Fixed 1. | https://www.suse.com/security/cve/CVE-2026-31900/ |
ubuntu
|
medium | CVE-2026-31900 medium priority: Ubuntu including 1 source packages (black), 5 status rows across 5 suites (focal, jammy, noble, questing, upstream): needs-triage 5. | https://ubuntu.com/security/CVE-2026-31900 |
| URL | Tags |
|---|---|
| https://github.com/psf/black/commit/0a2560b981364dde4c8cf8ce9d164c40669a8611 | Patch |
| https://github.com/psf/black/security/advisories/GHSA-v53h-f6m7-xcgm | Mitigation Vendor Advisory |