StraitOfVuln
Latest / CVE-2026-142190

CVE-2026-142190

HighCVSS 7.5 (v3.1)Received
CVE.org ↗NVD ↗

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

CVE ID
CVE-2026-142190
Published / updated
02 Dec 2026, 17:17 UTC · last modified 02 Dec 2026, 17:17 UTC
Severity
HIGH
CVSS score
7.5 · v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network
Affected vendor
knex
Affected products
knex
Affected versions
knex: up to 3.3.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
—
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
disclosure@vulncheck.com