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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 02 Dec 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title Knex through 3.3.0 SQL Injection via Oracle refreshMaterializedView View Name
First Time appeared Knexjs
Knexjs knex
Weaknesses CWE-89
CPEs cpe:2.3:a:knexjs:knex:*:*:*:*:*:*:*:*
Vendors & Products Knexjs
Knexjs knex
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-02T16:50:58.376Z

Reserved: 2026-12-02T15:28:35.198Z

Link: CVE-2026-142192

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-02T17:17:40.360

Modified: 2026-12-02T17:17:40.360

Link: CVE-2026-142192

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses