Unescaped cast type SQLi in Sequelize <6.37.8 JSONB
CVE-2026-30951 Published on March 10, 2026

Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type
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.

Github Repository NVD

Vulnerability Analysis

CVE-2026-30951 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
NONE
Availability Impact:
NONE

Weakness Type

What is a SQL Injection Vulnerability?

The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.

CVE-2026-30951 has been classified to as a SQL Injection vulnerability or weakness.


Products Associated with CVE-2026-30951

Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.

 
 
 

Affected Versions

sequelize: Red Hat Satellite 6.18: Red Hat Confidential Compute Attestation: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 9:

Vulnerable Packages

The following package name and versions may be associated with CVE-2026-30951

Package Manager Vulnerable Package Versions Fixed In
npm sequelize >= 6.0.0-beta.1, <= 6.37.7 6.37.8

Exploit Probability

EPSS
0.38%
Percentile
29.34%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.