CVE-2026-34220
MikroORM is vulnerable to SQL Injection via specially crafted object
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
MikroORM is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Prior to versions 6.6.10 and 7.0.6, there is a SQL injection vulnerability when specially crafted objects are interpreted as raw SQL query fragments. This issue has been patched in versions 6.6.10 and 7.0.6.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | @mikro-orm/core | 6.6.10, 7.0.6 |