CVEvulnerability
CVE-2026-69240
9.8 CRITICAL
Official page ↗
- Status
- Awaiting Analysis
- Published
- 2026-08-03
- Last modified
- 2026-09-10
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
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.
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://github.com/sequelize/sequelize/commit/5deadd2410ae9136a21fb652db206d27bb715f26 github.com
- https://github.com/sequelize/sequelize/releases/tag/v6.37.4 github.com
- https://github.com/sequelize/sequelize/security/advisories/GHSA-v8fg-2rw7-q452 github.com
- https://github.com/sequelize/sequelize/security/advisories/GHSA-v8fg-2rw7-q452 github.com