{"id":"CVE-2026-69240","published":"2026-08-03T20:28:28Z","modified":"2026-08-04T14:12:28Z","title":"Sequelize: SQL Injection (Oracle DB)","vendor":"sequelize","product":"sequelize","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0054,"percentile":0.46351,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/sequelize/sequelize/security/advisories/GHSA-v8fg-2rw7-q452","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sequelize/sequelize/commit/5deadd2410ae9136a21fb652db206d27bb715f26","tags":["x_refsource_MISC"]},{"url":"https://github.com/sequelize/sequelize/releases/tag/v6.37.4","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":9.27},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"sequelize","affectedVersions":[{"vendor":"sequelize","product":"sequelize","versions":["< 6.37.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-04T14:12:19.807331Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"sequelize","vulnerableRanges":["<6.37.4"],"patched":["6.37.4"],"from":["GHSA-v8fg-2rw7-q452"],"provenance":"source"}],"summary":{"text":"The flaw is an SQL injection vulnerability in the Sequelize Node.js ORM, specifically in its sql-string escape function used by the Oracle dialect, where string values beginning with TO_TIMESTAMP or TO_DATE are returned without quote escaping. An attacker who can get a crafted string into an application value that reaches this escape path can inject arbitrary SQL expressions, with no authentication, user interaction, or special configuration beyond the Oracle dialect being in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:28Z"},"euvd":{"id":"EUVD-2026-52429","exploited":false,"provenance":"source"}}