CVE-2026-142191: Schwachstelle in Knex
Bald aktualisieren. 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.
CWE-89
- Ausnutzung
- Nicht bestätigt
- Schweregrad
- 7,5 von 10
- Angriffsrisiko
- Unbekannt
- Korrektur
- Keine bekannt
- Update-Frist
- Keine Frist gesetzt
Details
- Hinweis-ID
- GHSA-xp5q-36vg-8c47
- Vektor
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Fehlerklasse
- CWE-89
- Veröffentlicht
- 2. Dez. 2026
- Letzte Änderung
- 4. Dez. 2026
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/mssql/schema/mssql-compiler.js
- github.com/knex/knex/blob/3.3.0/lib/dialects/mssql/index.js
- vulncheck.com/advisories/knex-through-3.3.0-sql-injection-via-mssql-droptableifexists-d...
Weiter
- Schwachstellen in Knex Aktuelle Hinweise, Produkt beobachten
- Schwachstellen in Knex Aktuelle Hinweise, Produkt beobachten