CriticalGHSA-2598-2f59-rmhqCVE-2019-10749SNYK-JS-SEQUELIZE-450222

SQL Injection in sequelize

Published 8 Nov 2019 · Updated 8 Jul 2026

Is your project on an affected sequelize?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<3.35.1
Fixed in
3.35.1
Update to the fixed version for your release line, for example:npm install sequelize@3.35.1

Details

Versions of sequelize prior to 3.35.1 are vulnerable to SQL Injection. The package fails to sanitize JSON path keys in the Postgres dialect, which may allow attackers to inject SQL statements and execute arbitrary SQL queries.

Recommendation

Upgrade to version 3.35.1 or later.

Is GHSA-2598-2f59-rmhq in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected sequelize, and gives you the command that fixes it.

More advisories for sequelize

  • CriticalCVE-2026-69240Sequelize: SQL Injection (Oracle DB) · 3 Aug 2026
  • HighCVE-2026-30951Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type · 11 Mar 2026
  • CriticalCVE-2023-22578Sequelize - Default support for “raw attributes” when using parentheses · 24 Feb 2023
  • CriticalCVE-2023-22579Unsafe fall-through in getWhereConditions · 23 Feb 2023
  • CriticalCVE-2023-25813Sequelize vulnerable to SQL Injection via replacements · 22 Feb 2023
  • MediumCVE-2023-22580Sequelize information disclosure vulnerability · 16 Feb 2023
All 18 advisories for sequelize

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.