Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2026-69240: Sequelize can be exploited for SQL injection with Oracle
CVE-2026-69240 · published 3 months ago
Summary
Versions of Sequelize before 6.37.4 do not properly escape certain Oracle date functions, allowing an attacker to insert malicious SQL when the application passes strings that start with TO_TIMESTAMP or TO_DATE. This risk only affects the Oracle database mode. Update Sequelize to version 6.37.4 or later to fix the problem.
What to do
- Update wikirik sequelize to version 6.37.4.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | sequelize | sequelize | < 6.37.4 |
| npm | wikirik | sequelize |
< 6.37.4 Fix: upgrade to 6.37.4
|
Original advisory text
Sequelize: SQL Injection (Oracle DB)
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.
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69240... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-69240 Vendor Advisory
- https://github.com/sequelize/sequelize/security/advisories/GHSA-v8fg-2rw7-q452 Vendor Advisory
- https://github.com/sequelize/sequelize/commit/5deadd2410ae9136a21fb652db206d27bb... Patch
- https://github.com/sequelize/sequelize/releases/tag/v6.37.4 URL
- https://github.com/advisories/GHSA-v8fg-2rw7-q452
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Type
CWE-89SQL Injection
Timeline
Published3 Aug 2026
Updated4 Nov 2026
First seen3 Aug 2026
Track software like this
Free during beta