StraitOfVuln
Latest / CVE-2026-142187

CVE-2026-142187

MediumCVSS 6.5 (v3.1)Received
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-142187
Published / updated
02 Dec 2026, 17:17 UTC · last modified 02 Dec 2026, 21:18 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N · Attack vector: Network
Affected vendor
go-gorm
Affected products
GORM
Affected versions
GORM: up to 1.31.2
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
—
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
disclosure@vulncheck.com