CVE-2026-142192 — knex
One of 3 knex vulnerabilities published together by NVD: our article covers all of them.
OracleWebDatabasesVulnerabilitiesSummary
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.
Severity breakdown
High · 7.7
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| knex | ≤ 3.3.0 | — |
References by type
Other references
Affected
- knex
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is 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. 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. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).
How severe is CVE-2026-142192?
CVE-2026-142192 has a CVSS 4.0 base score of 7.7 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-142192 being exploited?
Not as far as is known: CVE-2026-142192 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142192?
knex ≤ 3.3.0.
How do I fix CVE-2026-142192?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- AdminNeo SQL Injection Vulnerability in Versions Before 5.9.1
- CERT-In Rates Multiple Oracle Product Vulnerabilities Critical in Advisory CIVN-2026-0568
- Chained Oracle E-Business Suite Flaws Allow Unauthenticated Remote Code Execution
- Database Code Execution Vulnerabilities Exposed
- Oracle Releases Security Advisory for Several Products