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-07-16T03:30:52.983054281Z
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
{
    "cwe_ids": [
        "CWE-89"
    ],
    "cna_assigner": "GitHub_M",
    "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
{
    "cpe": "cpe:2.3:a:sequelizejs:sequelize:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "6.0.0-beta.1"
        },
        {
            "fixed": "6.37.8"
        },
        {
            "introduced": "0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Database specific

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