Skip to content
OpenAdvisories
High · 7.7 CVE-2026-142191 EUVD-2026-141514GHSA-xp5q-36vg-8c47

Knex through 3.3.0 contains an sql injection vulnerability in the MSSQL dialect that allows attackers to inject T-SQL via table or view nam…

Published Dec 2, 2026 · Assigned by VulnCheck

Description

Knex through 3.3.0 contains an sql injection vulnerability in the MSSQL dialect that allows attackers to inject T-SQL via table or view names. Attackers can supply names containing a single quote to close the object_id() literal in dropTableIfExists, dropViewIfExists, or createTableIfNotExists and execute arbitrary T-SQL with the database connection's privileges.

Affected products

VendorProductAffectedFixed
@mikro-orm knex 0 ≤3.3.0 —

References