CVE-2026-142190
7.5, highknex SQL Injection Vulnerability
- CVSS
- 7.5, high high CVSS v3.1
- EPSS, next 30 days
- n/a
- Exploitation
- No public evidence
- Published
- 2 Dec 2026yesterday
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.
Details
- Vendor
- Knex
- Product
- knex
- Weakness
- CWE-89 (opens in a new tab)
- Status
- Received
- Updated
- 2 Dec 2026
- Assigner
- disclosure@vulncheck.com
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References 5
Other references 5
- github.com /knex/knex/blob/3.3.0/lib/dialects/mysql/schema/mysql-columncompiler.js#L63-L65 (opens in a new tab)
- github.com /knex/knex/blob/3.3.0/lib/dialects/postgres/schema/pg-columncompiler.js#L25-L48 (opens in a new tab)
- github.com /knex/knex/blob/3.3.0/lib/dialects/sqlite3/schema/sqlite-columncompiler.js#L16-L20 (opens in a new tab)
- github.com /knex/knex/issues/4481 (opens in a new tab)
- vulncheck.com /advisories/knex-through-3.3.0-sql-injection-via-unescaped-enu-schema-builder-values (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other Knex CVEs
Every Knex CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2026-142191 knex SQL Injection Vulnerability 7.5, high
- CVE-2026-142192 knex SQL Injection Vulnerability 7.5, high
Beyond this page
Is CVE-2026-142190 in your network?
This page tells you how dangerous CVE-2026-142190 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-142190 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 3 Dec 2026, not the live upstream state.