Sequelize: SQL Injection (Oracle DB) (CVE-2026-69240)
Sequelize versions prior to 6.37.4 contain a critical SQL Injection vulnerability when used with the Oracle dialect. The vulnerability arises because the escape function does not properly escape strings starting with TO_TIMESTAMP or TO_DATE, allowing crafted input to inject arbitrary SQL. This can lead to data theft and tampering. A patch is available to address this issue.
AI Analysis
Technical Summary
In Sequelize before version 6.37.4, the escape function in sql-string.js fails to escape quotes in strings that start with TO_TIMESTAMP or TO_DATE when the dialect is set to oracle. This allows an attacker to inject arbitrary SQL expressions via string inputs, leading to SQL Injection. For example, an attacker can manipulate a query parameter to inject SQL that bypasses intended query constraints. The vulnerability has a CVSS 3.1 score of 9.8 (critical) and affects versions prior to 6.37.4.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary SQL commands on the Oracle database through Sequelize, potentially leading to unauthorized data access, data modification, or other destructive actions affecting confidentiality, integrity, and availability.
Mitigation Recommendations
A patch is available for this vulnerability in Sequelize version 6.37.4 and later. Users should upgrade to version 6.37.4 or newer to remediate this issue. No other mitigations are specified.
Sequelize: SQL Injection (Oracle DB) (CVE-2026-69240)
Description
Sequelize versions prior to 6.37.4 contain a critical SQL Injection vulnerability when used with the Oracle dialect. The vulnerability arises because the escape function does not properly escape strings starting with TO_TIMESTAMP or TO_DATE, allowing crafted input to inject arbitrary SQL. This can lead to data theft and tampering. A patch is available to address this issue.
CVSS v3.1
Score 9.8critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Sequelize before version 6.37.4, the escape function in sql-string.js fails to escape quotes in strings that start with TO_TIMESTAMP or TO_DATE when the dialect is set to oracle. This allows an attacker to inject arbitrary SQL expressions via string inputs, leading to SQL Injection. For example, an attacker can manipulate a query parameter to inject SQL that bypasses intended query constraints. The vulnerability has a CVSS 3.1 score of 9.8 (critical) and affects versions prior to 6.37.4.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary SQL commands on the Oracle database through Sequelize, potentially leading to unauthorized data access, data modification, or other destructive actions affecting confidentiality, integrity, and availability.
Mitigation Recommendations
A patch is available for this vulnerability in Sequelize version 6.37.4 and later. Users should upgrade to version 6.37.4 or newer to remediate this issue. No other mitigations are specified.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-v8fg-2rw7-q452
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-69240"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6a710650bf32cb7a34392db8
Added to database: 08/03/2026, 21:21:20 UTC
Last enriched: 08/03/2026, 21:23:42 UTC
Last updated: 08/03/2026, 21:23:42 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.