CVE-2026-30951: Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type
Vulnerability summary
CVE-2026-30951 is a high (CVSS 7.5) vulnerability in sequelize. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 42.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 10-03-2026PublishedVulnerability first disclosed.
- 20-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.47%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.45% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundSequelize
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- sqlpad< 7.5.7-r14
Npm1 product
- sequelize≥ 6.0.0-beta.1, < 6.37.8
Sequelize1 product
- sequelize≥ 6.0.0-beta.1, < 6.37.8
Sequelizejs1 product
- sequelize< 6.37.8
Wolfi1 product
- sqlpad< 7.5.7-r14
5 vendors · 5 products
References
8 links- github.com/sequelize/sequelize/security/advisories/GHSA-6457-6jrx-69crX Refsource CONFIRMAdvisoryWEBExploitMitigationVendor Advisory