PoC Monitor
← All CVEs
CVE-2026-30951published 10 Mar 2026 20:22 UTCData: JSON · API

Sequelize

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.

First public PoC 26 daysafter publication · 5 Apr 2026
Public PoCs22 on GitHub
CVSS7.5high · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

sequelize sequelize
  • >= 6.0.0-beta.1, < 6.37.8

Fixed in 6.37.8

Mitigation

Upgrade sequelize to 6.37.8 or later.

References

Timeline

Days relative to CVE publication
t=0+7+14+21CVE published10 Mar 2026 · t = 0First public PoC5 Apr 2026 · t+26d

First public PoC 26 days after publication; not in CISA KEV. First PoC: EQSTLab/CVE-2026-30951 (created 5 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
EQSTLab/CVE-2026-30951 5 Apr 2026 +26 d 1 PoC
yym8538/CVE-2026-30951 21 Aug 2026 +163 d 1 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /api/users/search

Content-Type
application/json
Ports
9100
Seen in
2 repos: EQSTLab/CVE-2026-30951, yym8538/CVE-2026-30951
Evidence
EQSTLab/CVE-2026-30951/app.js:395 yym8538/CVE-2026-30951/app.js:395

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/users/search
(?i)^/api/users/search(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/users/search
alert http any any -> $HOME_NET [9100] (msg:"GG PoC-Monitor CVE-2026-30951 sequelize sequelize exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/users/search"; reference:url,poc.griffinguard.io/cve/CVE-2026-30951; classtype:web-application-attack; sid:9233036; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/users/search
title: sequelize sequelize exploit attempt (CVE-2026-30951)
id: gg-pocmon-cve-2026-30951-9233036
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-30951. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-30951
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/users/search'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.30951