CVE-2026-84993Mikro Orm Mikro-orm SQL injection
CVSS score
6.5
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.51%
0.51% chance of exploitation in the next 30 days, higher than 44.1% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Mikro-orm and compare its version with the affected versions.
Update to a fixed version
- Update Mikro-orm to 6.6.16, 7.1.7 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| mikro-orm Mikro-orm | < 6.6.16 · >= 7.0.0, < 7.1.7 |
Weakness
- CWE-89 SQL injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-84993 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-84993?
CVE-2026-84993 has a CVSS 3.1 base score of 6.5 (medium).
Which versions are affected?
Mikro Orm Mikro-orm (< 6.6.16; >= 7.0.0, < 7.1.7)
Is there a patch for CVE-2026-84993?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/mikro-orm/mikro-orm/commit/3aba926fd07156f5e1ebf06294fd77ee1215bad5
- github.com/mikro-orm/mikro-orm/commit/89e5546bf8e10f8465682016a3bdf622ff55d8c5
- github.com/mikro-orm/mikro-orm/pull/7996
- github.com/mikro-orm/mikro-orm/pull/7997
- github.com/mikro-orm/mikro-orm/releases/tag/v6.6.16
- github.com/mikro-orm/mikro-orm/releases/tag/v7.1.7
- github.com/mikro-orm/mikro-orm/security/advisories/GHSA-7j79-7q93-6v69
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.