Skip to content
OpenAdvisories
High · 7.7 CVE-2026-142190 EUVD-2026-141515GHSA-9hx6-vfgp-fg3m

Knex through 3.3.0 contains an sql injection vulnerability that allows attackers to inject SQL into DDL statements by supplying enum values…

Published Dec 2, 2026 · Assigned by VulnCheck

Description

Knex through 3.3.0 contains an sql injection vulnerability that allows attackers to inject SQL into DDL statements by supplying enum values containing single quotes to the enu() column method. Attackers can terminate the literal to neutralize SQLite CHECK constraints or execute stacked statements like DROP TABLE on PostgreSQL with the database connection's privileges.

Affected products

VendorProductAffectedFixed
@mikro-orm knex 0 ≤3.3.0 —

References