← Übersicht GitHub Actions

Black's vulnerable version parsing leads to RCE in GitHub Action

CVE-2026-31900 · DEBIAN-CVE-2026-31900 · DHI-2yhb-5762-kpn5-vcri · GHSA-v53h-f6m7-xcgm · PYSEC-2026-2120 · UBUNTU-CVE-2026-31900

Kritisch · CVSS 9.8 SUSE: importantUbuntu: medium Netzwerk · ohne Login Fix verfügbar

Veröffentlicht
07.03.2026 03:32
Zuletzt geändert
20.11.2026
EPSS (30 Tage)
0.5 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

SUSE stuft seine Produktlinien ein: 6 behoben, 1 nicht betroffen.

SUSE Linux Enterprise Server 16.0 Behoben python313-black-25.1.0-160000.3.1
SUSE Linux Enterprise Server 16.1 Behoben python313-black-25.1.0-160100.2.1
SUSE Linux Enterprise Server for SAP applications 16.0 Behoben python313-black-25.1.0-160000.3.1
SUSE Linux Enterprise Server for SAP applications 16.1 Behoben python313-black-25.1.0-160100.2.1
openSUSE Leap 16.0 Behoben python313-black-25.1.0-160000.3.1
openSUSE Tumbleweed Behoben python311-black-26.3.1-1.1, python313-black-26.3.1-1.1
Nicht betroffen (1)
openSUSE Leap 15.6Nicht betroffenpython-black, python311-black

Betroffene Pakete im beobachteten Stack

GitHub Actionspsf/black26.3.0GHSA-v53h-f6m7-xcgm
Weitere betroffene Pakete (17)
CVEpsf/blackkein Fix bekanntCVE-2026-31900
Debian:12blackkein Fix bekanntDEBIAN-CVE-2026-31900
Debian:13blackkein Fix bekanntDEBIAN-CVE-2026-31900
Debian:14black26.3.1-1DEBIAN-CVE-2026-31900
Docker Hardened Images:Debian:13datahub-ingestionkein Fix bekanntDHI-2yhb-5762-kpn5-vcri
NVDpython:black26.3.0CVE-2026-31900
PyPIblack26.3.0PYSEC-2026-2120
SUSE:Linux Enterprise Server 16.0python-black25.1.0-160000.3.1SUSE-SU-2026:20928-1
SUSE:Linux Enterprise Server for SAP applications 16.0python-black25.1.0-160000.3.1SUSE-SU-2026:20928-1
Ubuntu:20.04:LTSblackkein Fix bekanntUBUNTU-CVE-2026-31900
Ubuntu:22.04:LTSblackkein Fix bekanntUBUNTU-CVE-2026-31900
Ubuntu:24.04:LTSblackkein Fix bekanntUBUNTU-CVE-2026-31900
Ubuntu:25.10blackkein Fix bekanntUBUNTU-CVE-2026-31900
Ubuntu:26.04:LTSblackkein Fix bekanntUBUNTU-CVE-2026-31900
Ubuntu:26.10blackkein Fix bekanntUBUNTU-CVE-2026-31900
openSUSE:Leap 16.0python-black25.1.0-160000.3.1openSUSE-SU-2026:20417-1
openSUSE:Tumbleweedpython-black26.3.1-1.1openSUSE-SU-2026:10372-1

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.