Data Manipulation Vulnerability in MikroORM by MikroORM
CVE-2026-84993

6.5MEDIUM

Key Information:

Vendor

Mikro-orm

Status
Vendor
CVE Published:
16 September 2026

What is CVE-2026-84993?

MikroORM, a TypeScript ORM for Node.js, has a vulnerability related to the validation process of the orderBy clause. Specifically, the SQL layer does not properly validate the direction value of this clause before it is used in SQL statements. If applications bind user-controlled data to methods like em.find() or QueryBuilder.orderBy(), this can lead to the execution of raw SQL fragments. Such exploitation could allow attackers to extract sensitive data from the database. This issue affects various database drivers, including SQLite, PostgreSQL, MySQL, MariaDB, MSSQL, libSQL, and Oracle, while MongoDB remains unaffected. The vulnerability has been resolved in MikroORM version 6.6.16 and later.

Affected Version(s)

mikro-orm < 6.6.16 < 6.6.16

mikro-orm >= 7.0.0, < 7.1.7 < 7.0.0, 7.1.7

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.