SCA: security update for @mikro-orm/knex, @mikro-orm/sql (GHSA-cfw5-68c4-ffqp)

high Tenable Cloud Security Plugin ID 441625

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- MikroORM is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns.
Prior to @mikro-orm/knex 6.6.14 and @mikro-orm/sql 7.0.14, MikroORM's identifier-quoting helper
(Platform.quoteIdentifier and the postgres/mssql overrides) and its JSON-path emitters
(Platform.getSearchJsonPropertyKey, quoteJsonKey) did not properly escape characters that delimit the SQL
identifier or string-literal context they emit into. When application code passes attacker-influenced
strings to public ORM APIs that expect an identifier or a JSON-property filter, an attacker can break out
of the quoted context and inject arbitrary SQL. This vulnerability is fixed in @mikro-orm/knex 6.6.14 and
@mikro-orm/sql 7.0.14. (CVE-2026-44680)

Solution

Update the @mikro-orm/knex library and its related packages to version 6.6.14 or later.

See Also

https://github.com/advisories/GHSA-cfw5-68c4-ffqp

Plugin Details

Severity: High

ID: 441625

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 5/9/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.9

Percentile: 52.76

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8

Temporal Score: 6.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:P/A:P

CVSS Score Source: CVE-2026-44680

CVSS v3

Risk Factor: High

Base Score: 7.6

Temporal Score: 6.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/8/2026

Vulnerability Publication Date: 5/8/2026

Reference Information

CVE: CVE-2026-44680

cwe: CWE-89