SQL Injection in @Mikro-Orm Knex
CVE-2026-44680
- CVSS v3
- 7.6 High
- Public exploits
- 1 repository
- EPSS
- 0.015 · 74.0th percentile
- Published
- 2026-05-26
What to do
- Fixed in
6.6.14,7.0.14- Affected
- 3 affected products
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.015, 74.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- @Mikro-Orm Knex — versions < 6.6.14
- @Mikro-Orm SQL — versions < 7.0.14
- Mikro-Orm — versions >= 7.0.0-rc.0, < 7.0.14, < 6.6.14
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- CerberusMrXi/CVE-2026-44680-MikroORM-SQL-Injection-Exploit-Framework (1 star, last pushed 2026-07-20): PoC tool for CVE-2026-44680 affecting MikroORM ≤7.0.13. Exploits JSON path injection to extract database contents via UNION-based attacks. Features vulnerability detection, automated data extraction…