GHSA-2r8w-m64v-76m4HighCVSS 7.5
Knex through 3.3.0 contains an sql injection vulnerability in the Oracle dialect...
🔗 CVE IDs covered (1)
📋 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 (4)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142192
- https://github.com/knex/knex/blob/3.3.0/lib/dialects/oracle/schema/oracle-compiler.js#L107-L113
- https://www.vulncheck.com/advisories/knex-through-3.3.0-sql-injection-via-oracle-refreshmaterializedview-view-name
- https://github.com/advisories/GHSA-2r8w-m64v-76m4