# CVE-2026-30951: Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-10T20:22:46.150Z
- Modified: 2026-09-10T03:50:37.694Z
- Also known as: GHSA-6457-6jrx-69cr
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sequelize sequelize: >= 6.0.0-beta.1, < 6.37.8
- satellite/iop-remediations-rhel9: no versions given (not affected: from 1776194798 before *)
- openshift-sandboxed-containers/osc-pccs: no versions given
- linux-sgx: no versions given
- sequelize (npm): from 6.0.0-beta.1 before 6.37.8
- sequelizejs sequelize: before 6.37.8

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/sequelize/sequelize/security/advisories/GHSA-6457-6jrx-69cr> (exploit, mitigation, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-30951> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2446250> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30951.json>
- <https://access.redhat.com/errata/RHSA-2026:8498> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30951> (advisory)
- <https://github.com/sequelize/sequelize> (package)

## Sources

- CVE List: [CVE-2026-30951](https://www.cve.org/CVERecord?id=CVE-2026-30951), CVE Terms of Use, modified 2026-08-20
- GitHub Advisory Database: [GHSA-6457-6jrx-69cr](https://github.com/advisories/GHSA-6457-6jrx-69cr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-30951](https://nvd.nist.gov/vuln/detail/CVE-2026-30951), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-30951 · Whole record: https://cve.day/CVE-2026-30951.json · Rebuilt by cve.day 2026-11-25T22:59:15.662Z
