CVE-2026-142192

7.5High

Published Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
Low
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-89

What an attacker gets

Authenticated attackers can execute arbitrary PL/SQL commands on your Oracle database. They need the ability to trigger the refreshMaterializedView function with crafted input.

Root cause

The refreshMaterializedView function fails to sanitize view or schema names, allowing an attacker to break out of the string literal and inject malicious SQL.

Affected versions

Knex through 3.3.0

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

Fix & remediation

Upgrade to a version later than 3.3.0 once available. Until then, sanitize all view and schema name inputs passed to refreshMaterializedView to ensure they contain no single quotes.

remediation — bash
$ npm list knex

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

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

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-142192

More fully triaged vulnerabilities you may want to check next.