CVE-2026-31900: Schwachstelle in Python Black

Kritisch. 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...

GitHub Actions, CWE-20

Ausnutzung
Nicht bestätigt
Schweregrad
9,8 von 10
Angriffsrisiko
Unbekannt
Korrektur
Korrigierte Version bekannt
Update-Frist
Keine Frist gesetzt

Details

Hinweis-ID
GHSA-v53h-f6m7-xcgm
Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fehlerklasse
CWE-20
Veröffentlicht
7. März 2026
Letzte Änderung
17. Juni 2026
Ökosystem
GitHub Actions

Betroffene Produkte

Betroffene Versionen und erste korrigierte Version

  • Python Black Vor 26.3.0. Behoben in 26.3.0

Betroffene Pakete

Anfällige Versionsbereiche und korrigierte Versionen

  • psf/black GitHub Actions, Betroffen: Vor 26.3.0. Behoben in 26.3.0

Sicherheitshinweise

Hinweise von Herstellern und Sicherheitsstellen

Updates und Korrekturen

Updates, Commits und Versionshinweise

Weiter