ZeroDay Brief
CVE-2026-142192

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.

CVSS
7.5High
Chance of exploitation (EPSS)
0.49%
Published
Dec 2, 2026
In the news
Not yet
More from this vendor

What to do

A serious SQL injection flaw in Knex that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Knex
Through 3.3.0

Description

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

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-142192 published (CVSS 7.5) (Dec 2, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Wed, Dec 2, 2026

  1. CVECVE-2026-142192 published (CVSS 7.5)CVE Program · 16:50 UTC

References 2

  • github.com /knex/knex/blob/3.3.0/lib/dialects/oracle/schema/oracle-compiler.js#L107-L113
  • www.vulncheck.com /advisories/knex-through-3.3.0-sql-injection-via-oracle-refreshmaterializedview-view-name

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”