CVE-2026-142190
Knex through 3.3.0 SQL Injection via unescaped enu() schema builder values
- Severity
- high CVSS 7.7 (v4.0)
- Affects
- knex
- Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- Published
- 2 December 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.