CVE-2026-142187

MediumCVSS 6.5/10Last modified Dec 2, 2026

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.

Metrics

CVSS 3.1 6.5/10CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
go-gormGORM<= 1.31.2

References

Timeline

Published
Dec 2, 2026
Last modified
Dec 2, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-1421884.3HTML Purifier through 4.19.1 contains a blacklist bypass vulnerability in HTMLPurifier_URIFilter_HostBlacklist that allows attackers to evadCVE-2026-1421896.1http-server through 14.1.1 contains an open redirect vulnerability in lib/core/index.js that builds the 302 Location header from the raw reqCVE-2026-142195.4URL redirection to untrusted site ('open redirect') vulnerability in Bilin Software and Informatics Consultancy Inc. HUMANIST Digital Human CVE-2026-1421907.5Knex through 3.3.0 contains an sql injection vulnerability that allows attackers to inject SQL into DDL statements by supplying enum values CVE-2026-1421917.5Knex through 3.3.0 contains an sql injection vulnerability in the MSSQL dialect that allows attackers to inject T-SQL via table or view nameCVE-2026-1421927.5Knex through 3.3.0 contains an sql injection vulnerability in the Oracle dialect refreshMaterializedView() that allows attackers to inject PCVE-2026-1421935.9Nette Latte through 3.1.10 contains a path traversal vulnerability in FileLoader that allows attackers to bypass the baseDir restriction by CVE-2026-1421947.5Latte through 3.1.10 contains a sandbox bypass vulnerability that allows template authors to call arbitrary PHP functions by passing string CVE-2026-1421953.1Latte before 3.1.7 contains a sandbox bypass vulnerability that allows template authors to read forbidden properties by abusing double-evaluCVE-2026-1421967.0PyTorch Lightning through 2.6.6 contains an insecure deserialization vulnerability in FSDPStrategy.load_checkpoint that ignores weights_onlyCVE-2026-1421975.3llama-index-tools-requests through 0.8.0 contains a URL parser differential vulnerability in RequestsToolSpec that allows attackers to redirCVE-2026-1421987.5NCalc before 7.6.0 contains an uncontrolled recursion vulnerability that allows attackers to crash the host process by supplying long flat c
CVE-2026-142187: Medium severity, CVSS 6.5 | Vulnix