ADVISORIES

Vulnerability

CVE-2026-30951

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.

3 advisories report this vulnerability, across 3 ecosystems.

High severity All Chainguard 2Wolfi 2npm 1

Advisories

  • CGA-88qh-34cg-x6xm
    CVE-2026-30951 ChainguardWolfi Updated 5 November 2026
  • CGA-j6ww-p898-f985
    CVE-2026-30951 ChainguardWolfi Updated 5 November 2026
  • GHSA-6457-6jrx-69cr

    Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type

    High CVE-2026-30951 npm Updated 10 September 2026

References