Vulnerability record

CVE-2026-142190

highCVSS 3.1 7.5Published · knex

The short answer

CVE-2026-142190 affects knex and is rated high (CVSS 7.5). It is not in CISA's Known Exploited Vulnerabilities catalog.

What it is

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.

Weakness: CWE-89.

Severity

7.5 high

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploited (CISA KEV)

Not listed

CISA lists confirmed exploitation only

EPSS, next 30 days

No score

FIRST scores CVEs within a day of publication

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Affected products

knex. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2026-142190 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog as of 2026-12-02.

How do I fix CVE-2026-142190?

Follow the vendor advisory in the references below. NVD lists the affected versions under its configurations.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Received. The description is NVD's text, quoted as published.

Related

Newly exploited vulnerabilities, every Monday

What CISA added to its KEV catalog that week, and the Critical CVEs most likely to be exploited. One email a week, one click to stop.

Prefer a feed? RSS or markdown.

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.