Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sequelize | sequelize | 6.0.0-beta.1 to before 6.37.8 | 6.37.8 | Patch available | CNA |
| — | sequelize (npm) | 6.0.0-beta.1 to before 6.37.8 | 6.37.8 | Patch available | GHSA-6457-6jrx-69cr |
- sequelize Vendorsequelize Affected 6.0.0-beta.1 to before 6.37.8 Fixed in 6.37.8 Patch available CNA
- sequelize (npm) Vendor— Affected 6.0.0-beta.1 to before 6.37.8 Fixed in 6.37.8 Patch available GHSA-6457-6jrx-69cr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:* | before 6.37.8 | Vulnerable | Feathers-Sequalize |
- cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:* Versions before 6.37.8 Vulnerable ·Feathers-Sequalize
Remediation
- Fix · CNA sequelize (sequelize) Fixed in 6.37.8
- Fix · GHSA-6457-6jrx-69cr sequelize (npm) Fixed in 6.37.8 Advisory →
Red Hat 1 advisory
- RHSA-2026:8498 Released 2026-04-16 · Red Hat rating ImportantGeneral availability of the satellite/iop-remediations-rhel9 container image
- Red Hat Satellite 6.18 registry.redhat.io/satellite/iop-remediations-rhel9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Confidential Compute Attestation | Affected | No fix planned: Will not fix |
| Red Hat Satellite 6.18 | Fixed | RHSA-2026:8498 |
Not affected: 2 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-30951
- 2026-10-03 Alias added: GHSA-6457-6jrx-69cr
References
More sequelize vulnerabilities
- TI-2026-48580 Sequelize: SQL Injection (Oracle DB) CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-30951 · CVE Program
- CVE-2026-30951 · NVD
- FIRST EPSS
- GHSA-6457-6jrx-69cr · GitHub Advisory Database · CC BY 4.0
- CVE-2026-30951 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences