GHSA-4wgc-ch5v-g36cHighCVSS 6.5

GORM through 1.31.2 contains an sql injection vulnerability in Migrator.CreateView that allows...

Published
December 2, 2026
Last Modified
December 2, 2026

🔗 CVE IDs covered (1)

📋 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.

🔗 References (5)