CVE-2026-30951 json
Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type
published 2026-03-10 8 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-10870 , GHSA-6457-6jrx-69cr
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
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.
Patch / fix
- npm sequelize 6.37.8
- Red Hat Red Hat Satellite 6.18 1776194798
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-30951 updated cvss 7.5
sequelize: Sequelize: Data exfiltration via SQL injection in JSON/JSONB where clause processing
-
Red Hat Confidential Compute Attestation openshift-sandboxed-containers/osc-pccsaffected: workaround, no fix planned “Will not fix”
-
Red Hat Satellite 6.18 satellite 1776194798fixed: vendor fix RHSA-2026:8498
-
Red Hat Enterprise Linux 9 sgx-mpa, tdx-qgs, sgx-libs, sgx-pccs, linux-sgx, sgx-common, +2 more Red Hat Enterprise Linux 10 linux-sgxnot affected: vulnerable code not in execute path
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/sequelize/sequelize/security/advisories/GHSA-6457-6jrx-69cr referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | sequelize | >=6.0.0-beta.1, <6.37.8 |
6.37.8 |
Affected products
- sequelize sequelize
- Red Hat Red Hat Satellite 6.18
- Red Hat Confidential Compute Attestation
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 9
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/sequelize/sequelize/security/advisories/GHSA-6457-6jrx-69cr
web, exploit, mitigation, vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:8498
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-30951
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2446250
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-30951.json
-
nvd.nist.gov
/vuln/detail/CVE-2026-30951
advisory
-
github.com
/sequelize/sequelize
package
Sources
- CVE List CVE-2026-30951
- GitHub Advisory GHSA-6457-6jrx-69cr
- NVD CVE-2026-30951
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.