Read the docs
TI-2019-08022 Aliases CVE-2019-10757GHSA-58v4-qwx5-7f59

SQL injection in knex.js

Priority MEDIUM 44CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

knex.js versions before 0.19.5 are vulnerable to SQL Injection attack. Identifiers are escaped incorrectly as part of the MSSQL dialect, allowing attackers to craft a malicious query to the host DB.

Why it matters now

EPSS 0.01159 67th percentileScored 2026-11-07
Fix Fixed knex (npm): 0.19.5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—knex.jsAll versions prior to version 0.19.5—No fix listedCNA
—knex (npm)before 0.19.50.19.5Patch availableGHSA-58v4-qwx5-7f59
  • knex.js Vendor— Affected All versions prior to version 0.19.5 Fixed in — No fix listed CNA
  • knex (npm) Vendor— Affected before 0.19.5 Fixed in 0.19.5 Patch available GHSA-58v4-qwx5-7f59

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:knexjs:knex:*:*:*:*:*:node.js:*:*before 0.19.5VulnerableKnexjs
  • cpe:2.3:a:knexjs:knex:*:*:*:*:*:node.js:*:* Versions before 0.19.5 Vulnerable ·Knexjs

Remediation

  • Fix · GHSA-58v4-qwx5-7f59 knex (npm) Fixed in 0.19.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-10757
  2. 2026-10-03 Alias added: GHSA-58v4-qwx5-7f59

References

  • TI-2016-09196 Knex Knex.js through 2.3.0 has a limited SQL injection vulnerability that can be… CVSS 3.1HIGH 7.5

Sources