PT-2026-24433 · Sequelize · Sequelize
Ethankim88
·
Published
2026-03-10
·
Updated
2026-04-27
·
CVE-2026-30951
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:C/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Sequelize versions prior to 6.37.8
Description
Sequelize, a Node.js ORM tool, contains a SQL injection flaw due to unescaped cast type handling within JSON/JSONB where clause processing. The
traverseJSON() function splits JSON path keys using '::' to determine a cast type, which is then directly incorporated into SQL queries using CAST(... AS <type>). An attacker controlling JSON object keys can inject arbitrary SQL code, potentially leading to data exfiltration from any table. The vulnerable component is the traverseJSON() function.Recommendations
Update to version 6.37.8 or later.
Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Sequelize