CVE-2026-142190

CVE-2026-142190CVE-2026-142190

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.

Scoring

CVSS 7.5 ()
VectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Last modified2026-12-02
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.