CVE-2026-84993 json
MikroORM: SQL injection via unvalidated order direction in orderBy
published 2026-09-16 53 d ago modified 2026-09-30 39 d ago also EUVD-2026-80875
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
MikroORM is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Prior to 6.6.16 and 7.1.7, the shared SQL layer validates the field key of an orderBy clause but does not validate its direction value before AbstractSqlPlatform.getOrderByExpression concatenates it into an ORDER BY clause. Applications that bind attacker-controlled request data to the direction in em.find(), em.findOne(), em.findAndCount(), QueryBuilder.orderBy(), or QueryBuilderHelper.getQueryOrderFromObject() can permit a raw SQL fragment that performs blind or boolean extraction of data available to the database account. The BaseMySqlPlatform and MsSqlPlatform fallthrough paths have the same behavior, affecting SQLite, PostgreSQL, MySQL, MariaDB, MSSQL, libSQL, and Oracle drivers, while MongoDB is not affected. This issue is fixed in versions 6.6.16 and 7.1.7.
Patch / fix
- github.com/mikro-orm/mikro-orm@3aba926 commit
- github.com/mikro-orm/mikro-orm@89e5546 commit
- github.com/mikro-orm/mikro-orm#7996 pull request
- github.com/mikro-orm/mikro-orm#7997 pull request
- github.com/mikro-orm/mikro-orm/releases/tag/v6.6.16 release
- github.com/mikro-orm/mikro-orm/releases/tag/v7.1.7 release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 53 d ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
- mikro-orm mikro-orm
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
- github.com /mikro-orm/mikro-orm/pull/7996
- github.com /mikro-orm/mikro-orm/pull/7997
- github.com /mikro-orm/mikro-orm/commit/3aba926fd07156f5e1ebf06294fd77ee1215bad5
- github.com /mikro-orm/mikro-orm/commit/89e5546bf8e10f8465682016a3bdf622ff55d8c5
- github.com /mikro-orm/mikro-orm/security/advisories/GHSA-7j79-7q93-6v69
- github.com /mikro-orm/mikro-orm/releases/tag/v6.6.16
- github.com /mikro-orm/mikro-orm/releases/tag/v7.1.7
Sources
- CVE List CVE-2026-84993
- NVD CVE-2026-84993
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.