CVE-2026-30951Sequelizejs Sequelize
High 7.5 No auth needed
Follow: this CVE · Sequelizejs · Sequelizejs Sequelize We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Mar 10, 2026
- Updated
- Jul 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Sequelize.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | sequelize |
≥ 6.0.0-beta.1 < 6.37.8 |
6.37.8 |
npm install sequelize@6.37.8 |
Per OSV / GitHub Advisories (GHSA-6457-6jrx-69cr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sequelizejs | sequelize | < 6.37.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Mitigation Vendor Advisory
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com