Sequelize is a Node.js ORM tool. Prior to 6.37.8, there is SQL injection via unescaped cast type in JSON/JSONB where clause processing. The _traverseJSON() function splits JSON path keys on :: to extract a cast type, which is interpolated raw into CAST(... AS <type>) SQL. An attacker who controls JSON object keys can inject arbitrary SQL and exfiltrate data from any table. This vulnerability is fixed in 6.37.8.
References
| Link | Resource |
|---|---|
| https://github.com/sequelize/sequelize/security/advisories/GHSA-6457-6jrx-69cr | Exploit Mitigation Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-03-10 21:16
Updated : 2026-03-18 19:16
NVD link : CVE-2026-30951
Mitre link : CVE-2026-30951
CVE.ORG link : CVE-2026-30951
JSON object : View
Products Affected
sequelizejs
- sequelize
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
