CVE-2026-142192: Vulnerability in Knex

Patch soon. Knex through 3.3.0 contains an sql injection vulnerability in the Oracle dialect refreshMaterializedView() that allows attackers to inject PL/SQL by supplying crafted view or schema names. Attackers can include a single quote to close the DBMS_MVIEW.REFRESH literal and append arbitrary PL/SQL statements that run with the database connection's privileges.

CWE-89

Exploitation
None confirmed
Severity
7.5 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-2r8w-m64v-76m4
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Published
2 Dec 2026
Last change
4 Dec 2026

Affected products

Affected versions and the first fixed release

  • Knex Through 3.3.0. No fixed version recorded
  • @mikro-orm Knex Version 0 ≤3.3.0. No fixed version recorded

Advisories

Vendor and security advisories

Related