CVE-2026-45570: Schwachstelle in Go-git Project Go-git

Kritisch. go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, go-git's SSH transport constructs the remote exec command by wrapping the repository path in single quotes without escaping single quotes embedded inside the path. A repository path containing a single quote can therefore break out of the quoted region in the exec command and be appended as additional shell...

Go, CWE-116

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

Details

Hinweis-ID
GHSA-m7cr-m3pv-hgrp
Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Fehlerklasse
CWE-116
Veröffentlicht
19. Mai 2026
Letzte Änderung
17. Juni 2026
Ökosystem
Go

Betroffene Produkte

Betroffene Versionen und erste korrigierte Version

  • Go-git Project Go-git Vor 5.19.1; Version 6.0.0. Behoben in 5.19.1

Betroffene Pakete

Anfällige Versionsbereiche und korrigierte Versionen

  • github.com/go-git/go-git/v5 Go, Betroffen: Bis 5.19.0. Behoben in 5.19.1
  • github.com/go-git/go-git/v6 Go, Betroffen: Bis 6.0.0-alpha.3. Behoben in 6.0.0-alpha.4
  • github.com/go-git/go-git Go, Betroffen: Bis 4.7.0. Keine korrigierte Version bekannt

Sicherheitshinweise

Hinweise von Herstellern und Sicherheitsstellen

Weiter