Sequelize is a Node.js ORM tool. Prior to 6.37.8, there is SQL injection via unescaped cast type in…
Historical advisory recorded 25 Oct 2026 07:19:14 UTC. Read the latest advisory.
nvd · CVE-2026-30951
PublishedSequelize 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-30951
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-89
Original publisher date fields
published: 2026-03-10T21:16:48.030
lastModified: 2026-07-15T02:19:45.850
1 source CPE criteria · context only
- cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON