CVE-2026-44680
HIGHMikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys
Title source: cnaExploitation Summary
EIP tracks 2 public exploits for CVE-2026-44680. PoCs published by cardosource, CerberusMrXi.
AI-analyzed exploit summary This exploit demonstrates a SQL injection vulnerability in MikroORM by injecting a crafted JSON path key to break out of the JSON_EXTRACT context and execute a UNION SELECT statement. The PoC sends a malicious payload to a vulnerable API endpoint to extract database information.
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.
Exploits (2)
This exploit demonstrates a SQL injection vulnerability in MikroORM by injecting a crafted JSON path key to break out of the JSON_EXTRACT context and execute a UNION SELECT statement. The PoC sends a malicious payload to a vulnerable API endpoint to extract database information.
This repository provides a functional exploit framework for CVE-2026-44680, a SQL injection vulnerability in MikroORM's JSON path handling. The exploit implements time-based, error-based, UNION-based, and blind SQL injection techniques to extract database information, enumerate tables, and extract data.
References (5)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L