CVE-2026-142187: Schwachstelle in Go-gorm GORM
Bald aktualisieren. GORM through 1.31.2 contains an sql injection vulnerability in Migrator.CreateView that allows attackers to inject SQL by supplying bound subquery values containing backslashes. Because logger.ExplainSQL inlines values without escaping backslashes, a backslash-quote sequence terminates the literal early, letting attackers alter view definitions to expose columns like password hashes.
CWE-89
- Ausnutzung
- Nicht bestätigt
- Schweregrad
- 8,3 von 10
- Angriffsrisiko
- Unbekannt
- Korrektur
- Keine bekannt
- Update-Frist
- Keine Frist gesetzt
Details
- Hinweis-ID
- GHSA-4wgc-ch5v-g36c
- Vektor
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
- Fehlerklasse
- CWE-89
- Veröffentlicht
- 2. Dez. 2026
- Letzte Änderung
- 4. Dez. 2026
Betroffene Produkte
Betroffene Versionen und erste korrigierte Version
- Go-gorm GORM Bis 1.31.2; Version 0 ≤1.31.2. Keine korrigierte Version bekannt
Sicherheitshinweise
Hinweise von Herstellern und Sicherheitsstellen
- github.com/go-gorm/gorm/blob/v1.31.2/migrator/migrator.go
- github.com/go-gorm/gorm/blob/v1.31.2/logger/sql.go
- vulncheck.com/advisories/gorm-through-1.31.2-sql-injection-via-migrator-createview-on-m...
Weiter
- Schwachstellen in GORM Aktuelle Hinweise, Produkt beobachten