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

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

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-03-10T20:22:46.150Z

Updated: 2026-03-11T14:40:34.034Z

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

Link: CVE-2026-30951

cve-icon Vulnrichment

Updated: 2026-03-11T14:40:29.642Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-03-11T13:52:47.683

Link: CVE-2026-30951

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-30951 - Bugzilla