CVE-2026-30951

HIGH

Sequelize <6.37.8 - SQL Injection

Title source: llm

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.

Exploits (1)

nomisec STUB
by EQSTLab · poc
https://github.com/EQSTLab/CVE-2026-30951

Scores

CVSS v3 7.5
EPSS 0.0002
EPSS Percentile 5.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-89
Status published
Products (2)
npm/sequelize 6.0.0-beta.1 - 6.37.8npm
sequelizejs/sequelize < 6.37.8
Published Mar 10, 2026
Tracked Since Mar 11, 2026