CVE-2026-44680 Details
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.
A SQL injection vulnerability has been identified in MikroORM, a TypeScript ORM for Node.js. This issue affects versions of @mikro-orm/knex through 6.6.13 and @mikro-orm/sql through 7.0.13. The vulnerability arises because the ORM's identifier-quoting helper and JSON-path emitters did not properly escape characters that delimit SQL identifiers or string-literal contexts. As a result, when application code passes attacker-influenced strings to public ORM APIs that expect identifiers or JSON-property filters, an attacker can break out of the quoted context and inject arbitrary SQL. The vulnerability is present in all SQL dialects supported by MikroORM, but the MongoDB driver is not affected.
Users can upgrade to @mikro-orm/knex version 6.6.14 or @mikro-orm/sql version 7.0.14. If an immediate upgrade is not possible, multi-tenant applications should validate schema names against a strict allowlist before using them with MikroORM. Applications that pass filter keys from user input should validate those keys against known entity properties and avoid using keys that contain dots or colons. For filtering on JSON columns, validate JSON sub-keys against an allowlist before using them in queries.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 26, 2026CISA-ADP
Assessed May 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mikro-orm/mikro-orm/pull/7653 | [email protected] | Issue TrackingVendor |
| https://github.com/mikro-orm/mikro-orm/pull/7654 | [email protected] | Source CodeVendor |
| https://github.com/mikro-orm/mikro-orm/pull/7656 | [email protected] | Issue TrackingVendor |
| https://github.com/mikro-orm/mikro-orm/pull/7657 | [email protected] | Issue TrackingVendor |
| https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| MikroORM | <= 6.6.13 (semver) |
CPE
Remediation
| |
| MikroORM Knex | <= 6.6.13 (semver) |
CPE
Remediation
| |
| MikroORM SQL | <= 7.0.13 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | New CVE Received | [email protected] |
Volerion