Sequelize: SQL Injection (Oracle DB)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-89.
Summary
Sequelize is a Node.js ORM tool. Prior to 6.37.4, SQL injection is possible with strings only if dialect is set to oracle. The escape function defined in sql-string.js does not escape quotes if the value starts with TO_TIMESTAMP or TO_DATE. In the Oracle dialect, when val is a string and starts with TO_TIMESTAMP or TO_DATE, escape returns val directly instead of replacing single quotes. An attacker can inject arbitrary SQL expressions through an application value that reaches this escape path. This issue is fixed in version 6.37.4.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sequelize | sequelize | before 6.37.4 | 6.37.4 | Patch available | CNA |
| — | sequelize (npm) | before 6.37.4 | 6.37.4 | Patch available | GHSA-v8fg-2rw7-q452 |
- sequelize Vendorsequelize Affected before 6.37.4 Fixed in 6.37.4 Patch available CNA
- sequelize (npm) Vendor— Affected before 6.37.4 Fixed in 6.37.4 Patch available GHSA-v8fg-2rw7-q452
Remediation
- Fix · CNA sequelize (sequelize) Fixed in 6.37.4
- Fix · GHSA-v8fg-2rw7-q452 sequelize (npm) Fixed in 6.37.4 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Satellite 6 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-69240
- 2026-10-03 Alias added: GHSA-v8fg-2rw7-q452
References
Sources
- CVE-2026-69240 · CVE Program
- CVE-2026-69240 · NVD
- FIRST EPSS
- GHSA-v8fg-2rw7-q452 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-69240 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences