CVE-2026-30951

Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type

Published Mar 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6457-6jrx-69cr Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type
History
Type Values Removed Values Added
CPEs cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Sequelizejs
Sequelizejs sequelize
Vendors & Products Sequelizejs
Sequelizejs sequelize
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
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 20, 2026, 12:31 PM
Reserved
Mar 7, 2026, 5:34 PM
Status
Modified
Published
Mar 10, 2026, 9:16 PM
Modified
Jul 15, 2026, 2:19 AM
Severity
Important
Public date
Mar 10, 2026, 8:22 PM