Skip to content
Fencer Vulns
high 7.5

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-pccs
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Satellite 6.18 satellite 1776194798
    fixed: 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-sgx
    not 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

Sources

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.