CVE-2026-44680

HIGH

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

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-44680. PoCs published by cardosource.

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 (1)

exploitdb WORKING POC
by cardosource · pythonwebappsmultiple
https://www.exploit-db.com/exploits/52600

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.

Classification
Working Poc 95%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: MikroORM (@mikro-orm/knex <= 6.6.13 / @mikro-orm/sql <= 7.0.13)
No auth needed
Prerequisites: A vulnerable MikroORM instance with an exposed API endpoint that processes JSON path keys
devstral-2 · analyzed May 30, 2026 Full analysis →

References (5)

Core 5
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/mikro-orm/mikro-orm/pull/7653
X_Refsource_Misc x_refsource_misc
https://github.com/mikro-orm/mikro-orm/pull/7654
X_Refsource_Misc x_refsource_misc
https://github.com/mikro-orm/mikro-orm/pull/7656
X_Refsource_Misc x_refsource_misc
https://github.com/mikro-orm/mikro-orm/pull/7657

Scores

CVSS v3 7.6
EPSS 0.0078
EPSS Percentile 74.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-89
Status published
Products (6)
@mikro-orm/knex < 6.6.14
@mikro-orm/sql < 7.0.14
mikro-orm/knex 0 - 6.6.14npm
mikro-orm/mikro-orm < 6.6.14
mikro-orm/mikro-orm >= 7.0.0-rc.0, < 7.0.14
mikro-orm/sql 0 - 7.0.14npm
Published May 26, 2026
Tracked Since May 26, 2026