SQL injection in Sequelize - CVE-2026-30951

 

SQL injection in Sequelize - CVE-2026-30951

Published: April 27, 2026


Vulnerability identifier: #VU128016
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-30951
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: npm Inc.
Affected software:
Sequelize

Detailed vulnerability description

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to sql injection in the _traverseJSON() function in JSON/JSONB where clause processing when handling user-controlled JSON object keys. A remote attacker can supply a specially crafted JSON key containing an unescaped cast type to disclose sensitive information.

Applications are vulnerable when they pass user-controlled objects as where clause values for JSON or JSONB columns.


How to mitigate CVE-2026-30951

Install security update from vendor's website.

Sources