CVE-2026-30951

Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type

HIGH
7.5
CVSS Score
Published: March 10, 2026 at 08:22 PM UTC
Updated: August 20, 2026 at 12:55 PM UTC
3 products affected across 3 vendorsSequelizeConfidential Compute AttestationSequelize

Using sequelize by sequelize?

Get instant alerts when new vulnerabilities affect sequelize - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.37.8
Affected range stops below 6.37.8, so it looks safe — our inference, not a vendor statement
v < 6.37.8
Affected range stops below 6.37.8, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

x_refsource_CONFIRMExploitMitigationVendor Advisory
Source: cverecord
https://github.com/sequelize/sequelize/security/advisories/GHSA-6457-6jrx-69cr
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:8498
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/security/cve/CVE-2026-30951
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://bugzilla.redhat.com/show_bug.cgi?id=2446250

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-89

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card