Answer in brief
CVE-2026-142187 records a High severity (CVSS 8.3) vulnerability in GORM through 1.31.2 SQL Injection via Migrator.CreateView on MySQL and MariaDB. The current sources do not mark it as known exploited. The current feed maps go-gorm/GORM (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 8.3. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps go-gorm/GORM (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| go-gorm/GORMgeneric | >=0 <=1.31.2 | Not reported |
Published upstream
Dec 2, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Dec 2, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Dec 2, 2026
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.
Quoted source text, attributed separately from HOL analysis.