Skip to content

CVE-2026-30951 Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type

HighCVSS 7.5 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

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.

Upgrade path

8 packages: 3 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
redhat confidential compute attestation All versions No fix listed No fix yet
redhat/openshift-sandboxed-containers/osc-pccs(Red Hat confidential_compute_attestation 1) All versions No fix listed No fix yet
redhat/satellite/iop-remediations-rhel9:1776194798(Red Hat satellite 6.18 el9) All versions No fix listed No fix yet
npm sequelize(npm) >= 6.0.0-beta.1, < 6.37.8; >= 6.0.0-beta.1, <= 6.37.7 6.37.8 Fixed
redhat satellite < 1776194798 1776194798 Fixed
sequelizejs sequelize < 6.37.8 6.37.8 Fixed
redhat enterprise linux = 9; = 10 No fix listed Versions listed
sequelize = >= 6.0.0-beta.1, < 6.37.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
sequelize = >= 6.0.0-beta.1, < 6.37.8 No fix listed
redhat satellite < 1776194798 1776194798
redhat confidential compute attestation All versions No fix listed
redhat enterprise linux = 10 No fix listed
redhat enterprise linux = 9 No fix listed
npm sequelize(npm) >= 6.0.0-beta.1, <= 6.37.7 No fix listed
redhat/satellite/iop-remediations-rhel9:1776194798(Red Hat:satellite:6.18::el9) All versions No fix listed
redhat/openshift-sandboxed-containers/osc-pccs(Red Hat:confidential_compute_attestation:1) All versions No fix listed
sequelizejs sequelize < 6.37.8 6.37.8
npm sequelize(npm) >= 6.0.0-beta.1, < 6.37.8 6.37.8

References