MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys
Summary
| CVE | CVE-2026-44680 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-26 17:16:46 UTC |
| Updated | 2026-05-26 20:24:19 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.6 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
EPSS: 0.007000000 probability, percentile 0.723130000 (date 2026-05-31)
Problem Types: CWE-89 | CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.6 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
| 3.1 | CNA | DECLARED | 7.6 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
LowAvailability
LowCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Mikro-orm | Mikro-orm | affected >= 7.0.0-rc.0, < 7.0.14 | Not specified |
| CNA | Mikro-orm | Mikro-orm | affected < 6.6.14 | Not specified |
| CNA | @mikro-orm | Knex | affected < 6.6.14 | Not specified |
| CNA | @mikro-orm | Sql | affected < 7.0.14 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp | [email protected] | github.com | |
| github.com/mikro-orm/mikro-orm/pull/7654 | [email protected] | github.com | |
| github.com/mikro-orm/mikro-orm/pull/7657 | [email protected] | github.com | |
| github.com/mikro-orm/mikro-orm/pull/7656 | [email protected] | github.com | |
| github.com/mikro-orm/mikro-orm/pull/7653 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.