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.

Project Subscriptions

Vendors Products
Sequelizejs Subscribe
Sequelize Subscribe
Advisories
Source ID Title
Github GHSA 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.

History

Wed, 11 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


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

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-11T00:19:12.793Z

Reserved: 2026-03-07T17:34:39.980Z

Link: CVE-2026-30951

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-10T21:16:48.030

Modified: 2026-03-10T21:16:48.030

Link: CVE-2026-30951

cve-icon Redhat

Severity : Important

Publid Date: 2026-03-10T20:22:46Z

Links: CVE-2026-30951 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-03-11T11:42:51Z

Weaknesses