{"schemaVersion":3,"id":"CVE-2026-30951","aliases":["CGA-88qh-34cg-x6xm","CGA-j6ww-p898-f985","GHSA-6457-6jrx-69cr"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-03-10T20:22:46.150Z","modified":"2026-08-20T12:31:50.041Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00498,"percentile":0.41398,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.07600000000000003,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00422},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00498,"percentile":0.41398}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00498,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00498,"percentile":0.41398}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_SEQUELIZE_SEQUELIZE","name":"Sequelize","source":"github","url":"https://github.com/sequelize/sequelize/pull/2919","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"chainguard","product":"sqlpad","name":"sqlpad","label":"sqlpad","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/sqlpad","purlType":"apk","versions":[{"text":"< 7.5.7-r14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.5.7-r14","eol":null,"hubHref":null},{"vendor":"wolfi","product":"sqlpad","name":"sqlpad","label":"sqlpad","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/sqlpad","purlType":"apk","versions":[{"text":"< 7.5.7-r14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.5.7-r14","eol":null,"hubHref":null},{"vendor":"Npm","product":"sequelize","name":"sequelize","label":"sequelize","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/sequelize","purlType":"npm","versions":[{"text":"≥ 6.0.0-beta.1, < 6.37.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0-beta.1, < 6.37.8","eol":null,"hubHref":null},{"vendor":"sequelize","product":"sequelize","name":"sequelize","label":"sequelize","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0-beta.1, < 6.37.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0-beta.1, < 6.37.8","eol":null,"hubHref":"/vendor/sequelize/sequelize"},{"vendor":"sequelizejs","product":"sequelize","name":"sequelize","label":"sequelize","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.37.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.37.8","eol":null,"hubHref":"/vendor/sequelizejs/sequelize"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/sequelize/sequelize/security/advisories/GHSA-6457-6jrx-69cr","label":"github.com/sequelize/sequelize/security/advisories/GHSA-6457-6jrx-69cr","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Exploit","Mitigation","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-30951","label":"access.redhat.com/security/cve/CVE-2026-30951","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2446250","label":"bugzilla.redhat.com/show_bug.cgi?id=2446250","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30951.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30951.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:8498","label":"access.redhat.com/errata/RHSA-2026:8498","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30951.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30951.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30951","label":"nvd.nist.gov/vuln/detail/CVE-2026-30951","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/sequelize/sequelize","label":"github.com/sequelize/sequelize","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-WHQX-HQP5-HWHG"]},"timeline":[{"kind":"published","date":"2026-03-10T20:22:46.150Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-20T12:31:50.041Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T17:00:35.364Z","stale":false,"partial":false}}