CVE-2026-31900
Last modified
CVE-2026-31900 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. Black is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Black | < 26.3.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-31900?
How severe is CVE-2026-31900?
How do I fix CVE-2026-31900?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31895WeGIA is a web manager for charitable institutions. Prior to…8.8
- CVE-2026-31896WeGIA is a web manager for charitable institutions. Prior to…9.8
- CVE-2026-31897FreeRDP is a free implementation of the Remote Desktop Proto…9.1
- CVE-2026-31898jsPDF is a library to generate PDFs in JavaScript. Prior to …6.5
- CVE-2026-31899CairoSVG is an SVG converter based on Cairo, a 2D graphics l…7.5
- CVE-2026-3190A flaw was found in Keycloak. The User-Managed Access (UMA) …4.3
- CVE-2026-31901Parse Server is an open source backend that can be deployed …5.3
- CVE-2026-31903The WebSocket Application Programming Interface lacks restri…8.7
- CVE-2026-31904The WebSocket Application Programming Interface lacks restri…8.7
- CVE-2026-31906Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2026-31908Header injection vulnerability in Apache APISIX. The attack…9.1
- CVE-2026-31909Exposure of Sensitive Information to an Unauthorized Actor v…7.5
Are you affected by CVE-2026-31900?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
