LiveActive security incident?Get immediate response
CVE Record

CVE-2026-30951: Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A flaw in Sequelize can let remote attackers turn attacker-controlled JSON keys into SQL. In exposed applications, this may allow confidential data to be read from database tables. The issue affects Sequelize from 6.0.0-beta.1 through 6.37.7 and is fixed in 6.37.8.

Executive priority

Prioritize prompt remediation for affected public applications because exploitation may require no authentication and could expose sensitive database information. Accelerate systems accepting flexible JSON filters or object-shaped query input. Current sources do not establish active exploitation, so emergency incident status should depend on confirmed exposure or suspicious evidence.

Technical view

Sequelize’s _traverseJSON() interprets text after :: in JSON path keys as a cast type, then inserts that type unescaped into CAST(... AS <type>) SQL. Applications are vulnerable when attacker-controlled object keys reach JSON or JSONB where-clause processing. This is CWE-89 with CVSS 3.1 score 7.5.

Likely exposure

Exposure is most likely in Node.js applications using affected Sequelize versions that allow untrusted JSON object keys to influence JSON or JSONB query filters. Merely installing Sequelize does not establish exploitability; the vulnerable data flow must be reachable. Internet-facing, unauthenticated query endpoints warrant the fastest review.

Exploitation context

The CVSS vector describes network access, low complexity, no required privileges, and no user interaction, with high confidentiality impact. The supplied record is not listed in KEV and provides no evidence of active exploitation. Treat exploitation status as unconfirmed, not absent.

Researcher notes

The vulnerable primitive is raw cast-type interpolation during JSON path traversal, not general use of JSON columns. Validate reachability at the application boundary and ORM query-building layer. The supplied sources state arbitrary SQL and cross-table data exfiltration are possible, but provide no confirmed exploitation telemetry.

Mitigation direction

  • Upgrade Sequelize to version 6.37.8 or later.
  • Identify and prioritize internet-facing applications using affected Sequelize versions.
  • Prevent untrusted JSON keys from reaching Sequelize JSON or JSONB where clauses until upgraded.
  • Review applicable vendor guidance and Red Hat errata for packaged deployments.

Validation and detection

  • Check manifests, lockfiles, and deployed runtime dependencies for Sequelize versions before 6.37.8.
  • Trace whether user-controlled JSON object keys reach Sequelize where-clause construction.
  • Confirm production resolves and loads Sequelize 6.37.8 or later after deployment.
  • Test affected request paths to ensure untrusted cast-like JSON keys are rejected safely.
  • Review application logs for unexpected JSON keys containing cast delimiters.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-30951 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6GitHub_M
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2026-30951Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPsequelize: Sequelize: Data exfiltration via SQL injection in JSON/JSONB where clause processing
other:Red Hat severity ratingcvssV3_1
  • 2026-03-10T21:01:17.729Z: Reported to Red Hat.
  • 2026-03-10T20:22:46.150Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
sequelizesequelize>= 6.0.0-beta.1, < 6.37.8Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.