CVE-2026-142187
Last modified
CVE-2026-142187 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.60% chance of exploitation in the next 30 days.
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| go-gorm | GORM | <= 1.31.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-142187?
How severe is CVE-2026-142187?
How do I fix CVE-2026-142187?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142181Dgraph 25.4.0 through 25.5.1 contains an information disclos…8.6
- CVE-2026-142182Ech0 through 6.0.0 contains a path traversal vulnerability i…4.3
- CVE-2026-142183fflate through 0.8.3 contains a denial of service vulnerabil…7.5
- CVE-2026-142184Formidable through 3.5.4 contains an inefficient regular exp…7.5
- CVE-2026-142185Glide through 4.2.1 contains a path traversal vulnerability …4.8
- CVE-2026-142186Glide through 4.2.1 contains a resource limit bypass vulnera…5.3
- CVE-2026-142188HTML Purifier through 4.19.1 contains a blacklist bypass vul…4.3
- CVE-2026-142189http-server through 14.1.1 contains an open redirect vulnera…6.1
- CVE-2026-14219URL redirection to untrusted site ('open redirect') vulnerab…5.4
- CVE-2026-142190Knex through 3.3.0 contains an sql injection vulnerability t…7.5
- CVE-2026-142191Knex through 3.3.0 contains an sql injection vulnerability i…7.5
- CVE-2026-142192Knex through 3.3.0 contains an sql injection vulnerability i…7.5
Are you affected by CVE-2026-142187?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
