Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-69240 EUVD-2026-52429GHSA-v8fg-2rw7-q452

Sequelize: SQL Injection (Oracle DB)

Published Aug 3, 2026 · Updated Aug 4, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
sequelize sequelize < 6.37.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm sequelize < 6.37.4 6.37.4 GHSA-v8fg-2rw7-q452

References