Upstream information

CVE-2026-32274 at MITRE

Description

Black is the uncompromising Python code formatter. Prior to 26.3.1, Black writes a cache file, the name of which is computed from various formatting options. The value of the --python-cell-magics option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations. Fixed in Black 26.3.1.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
CVSS detail National Vulnerability Database SUSE
Base Score 7.5 5.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack Vector Network Local
Attack Complexity Low Low
Privileges Required None None
User Interaction None Required
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact High High
Availability Impact None None
CVSSv3 Version 3.1 3.1
CVSS v4 Scores
CVSS detail CNA (GitHub) SUSE
Base Score 8.7 6.8
Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/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:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Attack Vector Network Local
Attack Complexity Low Low
Attack Requirements None None
Privileges Required None None
User Interaction None Passive
Vulnerable System Confidentiality Impact None None
Vulnerable System Integrity Impact High High
Vulnerable System Availability Impact None None
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: 1259608 [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-Proxy-BYOS-EC2
Image SUSE-Multi-Linux-Manager-Server-Azure-ltd
Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2
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 15.6
  • python311-black >= 24.3.0-150400.9.11.1
Patchnames:
openSUSE-SLE-15.6-2026-900
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 Released
Products past their end of life and not receiving proactive updates anymore.
openSUSE Leap 15.4 python-black Released


SUSE Timeline for this CVE

CVE page created: Thu Mar 12 22:03:37 2026
CVE page last modified: Fri Apr 3 02:02:04 2026