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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6457-6jrx-69cr | Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 11 Mar 2026 12:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
Wed, 11 Mar 2026 12:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sequelizejs
Sequelizejs sequelize |
|
| Vendors & Products |
Sequelizejs
Sequelizejs sequelize |
Wed, 11 Mar 2026 01:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | SQL Injection via JSON Column Cast Type in Sequelize v6 | Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type |
Tue, 10 Mar 2026 20:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | SQL Injection via JSON Column Cast Type in Sequelize v6 | |
| Weaknesses | CWE-89 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-03-11T00:19:12.793Z
Reserved: 2026-03-07T17:34:39.980Z
Link: CVE-2026-30951
No data.
Status : Received
Published: 2026-03-10T21:16:48.030
Modified: 2026-03-10T21:16:48.030
Link: CVE-2026-30951
OpenCVE Enrichment
Updated: 2026-03-11T11:42:51Z
Weaknesses
Github GHSA