# gorm.io/gorm (Go) CVEs

1 known CVE (1 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: v1.31.2 (Jun 22, 2026): affected by CVE-2026-142187
- Newest unaffected release: Every release is affected by at least one advisory
- Downloads on affected versions: Not known: no per-version downloads for this ecosystem
- Releases: 118 since v0.2.0 (Jun 2, 2020)
- Registry: https://pkg.go.dev/gorm.io/gorm
- Releases read: Dec 1, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-142187: v0.2.0 to v1.31.2 (through the newest release)

## Advisories (1)

### [CVE-2026-142187](https://cve.now/CVE-2026-142187): GORM through 1.31.2 SQL Injection via Migrator.CreateView on MySQL and MariaDB

- Severity: High 8.3
- Published: Dec 2, 2026
- Affected: through 1.31.2.
- No fix released. The latest release, v1.31.2, is still affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/go/gorm.io/gorm
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
