StraitOfVuln
Latest / CVE-2026-142191

CVE-2026-142191

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

Description

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.

Details

CVE ID
CVE-2026-142191
Published / updated
02 Dec 2026, 17:17 UTC · last modified 03 Dec 2026, 15: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