CVE-2026-44680
HIGH 7.6CVSS 3.1MikroORM has SQL injection via runtime-controlled identifiers and JSON-path keys
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.
- Published
- 26 May 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-89
- Also known as
- GHSA-cfw5-68c4-ffqp
- Sources
- NVDJSONOSV GHSA-cfw5-68c4-ffqpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @mikro-orm/sql | < 7.0.14 | 7.0.14 |
| OSV | npm | @mikro-orm/knex | < 6.6.14 | 6.6.14 |
References
- https://github.com/mikro-orm/mikro-orm/pull/7653 · WEB
- https://github.com/mikro-orm/mikro-orm/pull/7654 · WEB
- https://github.com/mikro-orm/mikro-orm/pull/7656 · WEB
- https://github.com/mikro-orm/mikro-orm/pull/7657 · WEB
- https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-cfw5-68c4-ffqp · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-44680 · ADVISORY
- https://github.com/mikro-orm/mikro-orm · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 26 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 May 2026)