CVE-2026-69240

Sequelize · Sequelize

Sequelize ORM versions prior to 6.37.4 contain an SQL injection vulnerability in the Oracle dialect when processing specific date strings, allowing unauthenticated attackers to execute arbitrary SQL.

Executive summary

An SQL injection vulnerability in the Sequelize ORM for Node.js allows unauthenticated attackers to execute arbitrary database commands when using the Oracle dialect.

Vulnerability

The vulnerability exists in the escape function within sql-string.js, which fails to properly sanitize strings beginning with TO_TIMESTAMP or TO_DATE. This allows an unauthenticated attacker to bypass security controls and inject arbitrary SQL expressions into database queries.

Business impact

The ability to perform SQL injection poses a severe risk to data integrity, confidentiality, and availability. Successful exploitation could lead to unauthorized access to sensitive application data, database modification, or complete system compromise, justifying the 9.8 CVSS score.

Remediation

Immediate Action: Update the Sequelize package to version 6.37.4 or later immediately.

Proactive Monitoring: Monitor database query logs for suspicious patterns, such as unexpected SQL syntax or attempts to manipulate date fields.

Compensating Controls: Deploy a Web Application Firewall (WAF) with updated rulesets to detect and block common SQL injection payloads targeting database-specific functions.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

This vulnerability represents a significant security risk for any application utilizing Sequelize with the Oracle dialect. Administrators must prioritize updating the dependency to version 6.37.4 to ensure that the escape logic is correctly applied and the injection vector is neutralized.