CVE-2026-142192: Knex through 3.3.0 SQL Injection via Oracle refreshMaterializedView View Name

Published Dec 2, 2026
·
Updated

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 DBMSMVIEW.REFRESH literal and append arbitrary PL/SQL statements that run with the database connection's privileges.

Affected Software

1 affected component
npm/knex<=3.3.0

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using npm/knex through version 3.3.0 with the Oracle dialect are exposed when they call refreshMaterializedView() with view or schema names influenced by an attacker. The injected PL/SQL executes with the privileges of the database connection used by the application.

2

What does an attacker need to exploit it?

An attacker needs the ability to supply a crafted view name or schema name to the Oracle dialect's refreshMaterializedView() call. The attack requires a value containing a single quote to terminate the DBMS_MVIEW.REFRESH literal and append PL/SQL.

3

Is this reachable through a default configuration?

The provided information identifies the vulnerable Oracle-dialect refreshMaterializedView() code path, but does not establish whether an application's default configuration calls it or exposes its view and schema name inputs to users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203