<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Sequelize (&lt; 6.37.4) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/sequelize--6.37.4/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 03 Aug 2026 20:47:47 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/sequelize--6.37.4/feed.xml" rel="self" type="application/rss+xml"/><item><title>SQL Injection in Sequelize Oracle Dialect</title><link>https://feed.craftedsignal.io/briefs/2026-08-sequelize-sqli/</link><pubDate>Mon, 03 Aug 2026 20:47:47 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-sequelize-sqli/</guid><description>Sequelize v6.37.3 and earlier versions contain a critical SQL injection vulnerability in the Oracle dialect implementation, allowing unauthenticated attackers to bypass input sanitization and execute arbitrary SQL.</description><content:encoded><![CDATA[<p>Sequelize, a widely used ORM for Node.js, contains a critical SQL injection vulnerability (CVE-2026-69240) affecting the library when configured to use the Oracle database dialect. The vulnerability stems from an insecure implementation of the <code>escape</code> function in <code>sql-string.js</code>. Specifically, the function checks if an input string begins with the patterns <code>TO_TIMESTAMP</code> or <code>TO_DATE</code> and returns the input raw if these conditions are met, bypassing the standard quote-escaping logic.</p>
<p>This flaw allows an attacker to inject arbitrary SQL expressions if the application uses unsanitized user input (such as URL parameters) within Sequelize query objects. Because this occurs within the ORM's own escaping logic, the vulnerability is particularly dangerous for applications relying on Sequelize to automatically sanitize database interactions. This vulnerability was addressed in Sequelize v6.37.4.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for unauthorized database access, enabling attackers to perform unauthorized data exfiltration, modification, or deletion. Impact is dependent on the application's implementation and the database permissions assigned to the service account executing the SQL queries. Given the nature of SQL injection, this vulnerability poses a high risk to the confidentiality and integrity of any database connected to a vulnerable Sequelize instance.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade the Sequelize package to v6.37.4 or later immediately.</li>
<li>Audit applications using Sequelize to ensure that they are not accepting arbitrary query parameters directly into the <code>where</code> clause without strict type validation or schema-based input sanitization.</li>
<li>Review database audit logs for anomalous SQL patterns, specifically queries containing <code>TO_TIMESTAMP</code> or <code>TO_DATE</code> followed by SQL logical operators or comment delimiters (e.g., <code>--</code>).</li>
<li>Deploy application-level WAF rules to detect and block URL parameters containing SQL metacharacters if immediate patching is not possible.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>web-vulnerability</category><category>sqli</category><category>npm</category><category>cve-2026-69240</category></item></channel></rss>