Vulnerability Description
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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/sequelize/sequelize/commit/5deadd2410ae9136a21fb652db206d27bb
- https://github.com/sequelize/sequelize/releases/tag/v6.37.4
- https://github.com/sequelize/sequelize/security/advisories/GHSA-v8fg-2rw7-q452
- https://github.com/sequelize/sequelize/security/advisories/GHSA-v8fg-2rw7-q452
FAQ
What is CVE-2026-69240?
CVE-2026-69240 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 va...
How severe is CVE-2026-69240?
CVE-2026-69240 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-69240?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.