CVE-2019-10752: SQL Injection in sequelize

sequelize Updated 02 Oct 2025

Summary

25/10/2019
Yes i
Critical
9.8

CVE-2019-10752: SQL Injection in sequelize. Affects sequelize across 2 version ranges.

< 4.44.3 >= 5.0.0, < 5.15.1

Fixed in 4.44.3 or 5.15.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Sequelize is an open-source Object-Relational Mapping (ORM) library for Node.js that provides easy access to databases by mapping database entries to objects. It is widely used for building web applications and APIs. However, certain versions of Sequelize are vulnerable to SQL Injection attacks.

Vulnerability Detail

The vulnerability in Sequelize (versions 4.x and 5.x) arises from the incorrect formatting of sub paths for JSON queries in the sequelize.json() function. This allows attackers to inject SQL statements and execute arbitrary SQL queries if user input is passed to the query. An attacker can exploit this vulnerability to manipulate the database, extract sensitive information, or perform unauthorized actions.

How To Fix

Latest published version: 6.37.8 as of 23 Oct 2026

npm install sequelize@6.37.8

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 4.44.3 4.44.3
    npm install sequelize@4.44.3
  • >= 5.0.0, < 5.15.1 5.15.1
    npm install sequelize@5.15.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the patched version of Sequelize to mitigate the risk of SQL Injection attacks.

Conclusion

Upgrading to the patched versions of Sequelize is crucial to mitigate the risk of SQL Injection attacks. It is recommended to follow the provided steps to fix the vulnerability and ensure the security of your application. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for sequelize →

Share this vulnerability

FAQ

Sequelize is an ORM library for Node.js that simplifies database access and manipulation by mapping database entries to objects.

SQL Injection is a type of security vulnerability where an attacker can insert malicious SQL statements into an application's database query, potentially gaining unauthorized access or manipulating the database.

An attacker can exploit this vulnerability by injecting SQL statements into user input that is passed to the sequelize.json() function. This can lead to the execution of arbitrary SQL queries and potential unauthorized actions on the database.

The consequences of this vulnerability include unauthorized access to sensitive data, manipulation of the database, and potential disruption of the application's functionality.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

Related vulnerabilities

Recent vulnerabilities recorded for sequelize.

How To Fix

Latest published version: 6.37.8 as of 23 Oct 2026

npm install sequelize@6.37.8

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 4.44.3 4.44.3
    npm install sequelize@4.44.3
  • >= 5.0.0, < 5.15.1 5.15.1
    npm install sequelize@5.15.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback