CVE-2026-30951
published high CVSS 3.1 · 7.5Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sequelize | — | sequelize>= 6.0.0-beta.1, < 6.37.8 | Affected | Not stated | GitHub_M |
| Red Hat | — | satellite/iop-remediations-rhel9Red Hat Satellite 6.18 · 1776194798 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | openshift-sandboxed-containers/osc-pccsConfidential Compute Attestation | Affected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 9, 10 | linux-sgx | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in Sequelize, a Node.js Object-Relational Mapper (ORM) tool. A remote attacker can exploit a SQL injection vulnerability by manipulating JSON object keys during JSON/JSONB where clause processing. This allows for the injection of arbitrary SQL commands due to the improper handling of cast types. The primary consequence is the potential for unauthorized data exfiltration from any database table.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sequelize | sequelize | >= 6.0.0-beta.1, < 6.37.8 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Satellite 6.18 | 1776194798 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Confidential Compute Attestation | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
5- https://access.redhat.com/errata/RHSA-2026:8498
- https://access.redhat.com/security/cve/CVE-2026-30951
- RHBZ#2446250 https://bugzilla.redhat.com/show_bug.cgi?id=2446250
- https://github.com/sequelize/sequelize/security/advisories/GHSA-6457-6jrx-69cr
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30951.json
Provider assertions
3GitHub_M · cna
Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type
redhat-SADP · adp
sequelize: Sequelize: Data exfiltration via SQL injection in JSON/JSONB where clause processing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e4d2246577e04ce1dd85819796f18bb714c9aa7cf0f89f1f06a8aff5042029e1
- Ingested
- 23 Sep 2026, 09:09:24 UTC
- Source record
- Official CVE record