Quick answers
- Is CVE-2026-30951 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-30951 being exploited in the wild.
- How severe is CVE-2026-30951?
- High severity, with a CVSS score of 7.5, published 10 March 2026.
- Which products and versions are affected?
- sequelize (npm) SEMVER:introduced=6.0.0-beta.1,fixed=6.37.8; Red Hat Confidential Compute Attestation affected.
- Is there a fix for CVE-2026-30951?
- Yes. sequelize (npm): upgrade to 6.37.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-30951 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-30951?
- Check whether you run sequelize (npm) or Red Hat Confidential Compute Attestation at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- sequelize (npm): upgrade to 6.37.8 or later
npm install sequelize@6.37.8
Technical details
A SQL injection vulnerability exists in Sequelize v6's handling of JSON/JSONB columns. The internal _traverseJSON() function splits JSON path keys on a double-colon (::) delimiter to identify cast types, but fails to validate or escape the resulting string. This value is then directly interpolated into a CAST(... AS <type>) SQL statement. An attacker capable of influencing the keys of a JSON object passed to a 'where' clause can inject arbitrary SQL commands. This can be used for UNION-based data exfiltration or boolean-blind injection across all supported database dialects (SQLite, PostgreSQL, MySQL, MariaDB). The issue is resolved in version 6.37.8 by implementing a whitelist of allowed cast types.
Affected products
- Sequelize Sequelize >= 6.0.0-beta.1, < 6.37.8
- Red Hat Red Hat Satellite 6.18 affected
- Red Hat Confidential Compute Attestation 1 affected
Identifiers
- CVE-2026-30951
- GHSA-6457-6jrx-69cr
Timeline
- 2026-03-09: advisory: GitHub Security Advisory published
- 2026-03-10: disclosed: CVE-2026-30951 published
- 2026-03-10: patched: Fixed in version 6.37.8
- 2026-04-16: advisory: Red Hat issued security advisory RHSA-2026:8498
References
- https://github.com/sequelize/sequelize/security/advisories/GHSA-6457-6jrx-69cr
- https://access.redhat.com/errata/RHSA-2026:8498
- https://access.redhat.com/security/cve/CVE-2026-30951
- https://bugzilla.redhat.com/show_bug.cgi?id=2446250
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30951.json