Upstream information

CVE-2026-31900 at MITRE

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.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having important severity.

CVSS v3 Scores
CVSS detail National Vulnerability Database SUSE
Base Score 9.8 8.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None Low
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3.1 3.1
CVSS v4 Scores
CVSS detail CNA (GitHub) SUSE
Base Score 8.7 8.7
Vector 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 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
Attack Vector Network Network
Attack Complexity Low Low
Attack Requirements None None
Privileges Required Low Low
User Interaction None None
Vulnerable System Confidentiality Impact High High
Vulnerable System Integrity Impact High High
Vulnerable System Availability Impact High High
Subsequent System Confidentiality Impact None None
Subsequent System Integrity Impact None None
Subsequent System Availability Impact None None
CVSSv4 Version 4.0 4.0
SUSE Bugzilla entry: 1259546 [IN_PROGRESS]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container suse/sl-micro/6.0/baremetal-os-container:latest
Container suse/sl-micro/6.1/baremetal-os-container:2.2.1-7.67
Image SL-Micro-Base
Image SL-Micro-Base-RT
Image SL-Micro-Base-RT-SelfInstall
Image SL-Micro-Base-RT-encrypted
Image SL-Micro-Base-SelfInstall
Image SL-Micro-Base-encrypted
Image SL-Micro-Base-qcow
Image SL-Micro-Default
Image SL-Micro-Default-SelfInstall
Image SL-Micro-Default-encrypted
Image SL-Micro-Default-qcow
Image SL-Micro-EC2
Image SUSE-Multi-Linux-Manager-Server-Azure-ltd
Image SUSE-Multi-Linux-Manager-Server-EC2-llc
Image SUSE-Multi-Linux-Manager-Server-EC2-ltd
  • openssh >= 9.6p1-slfo.1.1_3.1
  • openssh-clients >= 9.6p1-slfo.1.1_3.1
  • openssh-common >= 9.6p1-slfo.1.1_3.1
  • openssh-server >= 9.6p1-slfo.1.1_3.1
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.47
Container suse/sl-micro/6.0/toolbox:13.2-9.31
  • libzypp >= 17.37.17-1.1
Image SL-Micro
Image SLE-Micro
Image SLE-Micro-Azure
Image SLE-Micro-BYOS
Image SLE-Micro-BYOS-Azure
Image SLE-Micro-BYOS-EC2
Image SLE-Micro-BYOS-GCE
Image SLE-Micro-EC2
Image SLE-Micro-GCE
  • libzypp >= 17.37.17-1.1
  • openssh >= 9.6p1-slfo.1.1_3.1
  • openssh-clients >= 9.6p1-slfo.1.1_3.1
  • openssh-common >= 9.6p1-slfo.1.1_3.1
  • openssh-server >= 9.6p1-slfo.1.1_3.1
SUSE Linux Enterprise Server 16.0
SUSE Linux Enterprise Server for SAP applications 16.0
  • python313-black >= 25.1.0-160000.3.1
Patchnames:
SUSE-SLES-16.0-437
openSUSE Leap 16.0
  • python313-black >= 25.1.0-160000.3.1
Patchnames:
openSUSE-Leap-16.0-437
openSUSE Tumbleweed
  • python311-black >= 26.3.1-1.1
  • python313-black >= 26.3.1-1.1
Patchnames:
openSUSE-Tumbleweed-2026-10372

List of packages in QA

Product(s) Package(s)
SUSE Linux Enterprise Server 16.0
  • python313-black >= 25.1.0-160000.3.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Server 16.0 python-black In progress
SUSE Linux Enterprise Server 16.1 python-black Affected
SUSE Linux Enterprise Server for SAP applications 16.0 python-black Released
SUSE Linux Enterprise Server for SAP applications 16.1 python-black Affected
openSUSE Leap 15.6 python-black Not affected


SUSE Timeline for this CVE

CVE page created: Wed Mar 11 22:01:04 2026
CVE page last modified: Wed Apr 1 19:07:01 2026