CVE-2026-142190: Schwachstelle in Knex
Bald aktualisieren. 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.
CWE-89
- Ausnutzung
- Nicht bestätigt
- Schweregrad
- 7,7 von 10
- Angriffsrisiko
- 0,6 % in 30 Tagen
- Korrektur
- Keine bekannt
- Update-Frist
- Keine Frist gesetzt
Details
- Hinweis-ID
- GHSA-9hx6-vfgp-fg3m
- EU-ID
- EUVD-2026-141515
- Vektor
- CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Fehlerklasse
- CWE-89
- Veröffentlicht
- 2. Dez. 2026
- Letzte Änderung
- 5. Dez. 2026
- EPSS-Rang
- Höher als bei 49 % aller bewerteten Schwachstellen
Betroffene Produkte
Betroffene Versionen und erste korrigierte Version
- Knex Bis 3.3.0. Keine korrigierte Version bekannt
- @mikro-orm Knex Version 0 ≤3.3.0. Keine korrigierte Version bekannt
Sicherheitshinweise
Hinweise von Herstellern und Sicherheitsstellen
- github.com/knex/knex/blob/3.3.0/lib/dialects/mysql/schema/mysql-columncompiler.js
- github.com/knex/knex/blob/3.3.0/lib/dialects/postgres/schema/pg-columncompiler.js
- github.com/knex/knex/blob/3.3.0/lib/dialects/sqlite3/schema/sqlite-columncompiler.js
- github.com/knex/knex/issues/4481
- vulncheck.com/advisories/knex-through-3.3.0-sql-injection-via-unescaped-enu-schema-buil...
Weiter
- Schwachstellen in Knex Aktuelle Hinweise, Produkt beobachten
- Schwachstellen in Knex Aktuelle Hinweise, Produkt beobachten