Skip to main content
← All vulnerabilities
CVE-2026-44680GHSA-CFW5-68C4-FFQP

MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.14, 6.6.14
1 on Exploit-DB, 1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated
  4. Public exploit on Exploit-DB

    EDB-52600

Affected versions

  • mikro-orm mikro-orm

    From 7.0.0-rc.0 · fixed in 7.0.14; fixed in 6.6.14

  • @mikro-orm knex

    fixed in 6.6.14

  • @mikro-orm sql

    fixed in 7.0.14

  • @mikro-orm/sqlnpm

    fixed in 7.0.14

  • @mikro-orm/knexnpm

    fixed in 6.6.14

References 7

GitHub · mikro-orm/mikro-orm

Exploit-DB

GitHub · CerberusMrXi/CVE-2026-44680-MikroORM-SQL-Injection-Exploit-Framework