CVE-2026-44680
Published:May 26, 2026
Updated:June 11, 2026
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.
Affected Packages
@mikro-orm/sql (NPM):
Affected version(s) >=7.0.0-rc.0 <7.0.14Fix Suggestion:
Update to version 7.0.14@mikro-orm/knex (NPM):
Affected version(s) >=4.0.0-alpha.0 <6.6.14Fix Suggestion:
Update to version 6.6.14@mikro-orm/knex (NPM):
Affected version(s) >=4.0.0-alpha.0 <6.6.14Fix Suggestion:
Update to version 6.6.14@mikro-orm/sql (NPM):
Affected version(s) >=7.0.0-rc.0 <7.0.14Fix Suggestion:
Update to version 7.0.14Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
EPSS
Base Score:
0.78