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: 8.7 [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]
CVE-ID: CVE-2026-30951
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Sequelize

How to mitigate CVE-2026-30951

Install security update from vendor's website.

Sequelize - update to 6.37.8

External References

Related Security Bulletins