
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-69240 is a critical SQL injection vulnerability in Sequelize, a widely used Node.js ORM tool, affecting all versions prior to 6.37.4 when the Oracle database dialect is configured. The flaw was discovered by researcher t-tera, published to the GitHub Advisory Database on July 29, 2026, and formally disclosed on August 3, 2026. It carries a CVSS v3.1 base score of 9.8 (Critical) (Github Advisory, Feedly).
The root cause is an incomplete input sanitization routine in sql-string.js (CWE-89). In the Oracle dialect branch, when a string value begins with TO_TIMESTAMP or TO_DATE, the escape function returns the raw value directly without replacing single quotes, bypassing the standard escaping logic (val.replace(/'/g, "''")). This allows an attacker to craft an input such as TO_DATE('0','Y')||'' OR 1=1-- that is passed unsanitized into a generated SQL query, enabling arbitrary SQL expression injection. A proof-of-concept is publicly documented in the official security advisory (Github Advisory, Sequelize Commit).
Successful exploitation allows an unauthenticated remote attacker to inject and execute arbitrary SQL commands against the underlying Oracle database. This can result in full data theft (confidentiality breach), unauthorized data modification or deletion (integrity breach), and potential denial of service through destructive SQL operations (availability impact). Depending on Oracle database permissions granted to the application account, an attacker may also be able to escalate privileges within the database or pivot to other connected systems (Github Advisory).
findOne, findAll) without additional sanitization.TO_DATE or TO_TIMESTAMP to bypass the escape function, followed by injected SQL logic. Example: TO_DATE('0','Y')||'' OR 1=1--GET /path?firstName=TO_DATE('0','Y')||''%20OR%201=1--).WHERE "Student"."firstName" = TO_DATE('0','Y')||'' OR 1=1--, which evaluates to true for all rows, returning unauthorized data or enabling further SQL manipulation such as UNION-based data extraction or destructive statements (Github Advisory).TO_DATE( or TO_TIMESTAMP( in query parameters or POST body fields; requests with SQL keywords such as OR 1=1, UNION SELECT, or comment sequences (--) following Oracle date function patterns.TO_DATE or TO_TIMESTAMP; Oracle database audit logs recording unexpected query structures or authentication bypass patterns; elevated query result counts inconsistent with expected application behavior.Upgrade Sequelize to version 6.37.4 or later, which validates and properly escapes inputs beginning with TO_TIMESTAMP and TO_DATE in the Oracle dialect. The fix is implemented in commit 5deadd2 and is included in the v6.37.4 release. As an interim workaround where upgrading is not immediately possible, applications should implement server-side input validation to reject or sanitize strings beginning with Oracle function keywords before passing them to Sequelize query methods (Sequelize Release, Sequelize Commit).
The vulnerability received coverage from The Hacker Wire, which highlighted the critical nature of the SQL injection flaw in the Oracle dialect of a widely used ORM (The Hacker Wire). The issue was also noted in community vulnerability digests on Reddit and tracked by security platforms including Tenable and INCIBE-CERT. General community sentiment reflects concern given the high CVSS score and the availability of a public PoC, though the narrow scope (Oracle dialect only) limits the overall attack surface.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."