CVE-2026-30951

Source
https://cve.org/CVERecord?id=CVE-2026-30951
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30951.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-30951
Aliases
Related
Published
2026-03-10T20:22:46.150Z
Modified
2026-04-10T05:42:02.555790Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30951.json"
}
References

Affected packages

Git / github.com/sequelize/sequelize

Affected ranges

Type
GIT
Repo
https://github.com/sequelize/sequelize
Events

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30951.json"