Skip to content
OpenAdvisories
Critical · 9.3 Public exploit CVE-2026-34220 EUVD-2026-17486GHSA-gwhv-j974-6fxm

MikroORM is vulnerable to SQL Injection via specially crafted object

Published Mar 31, 2026 · Updated Apr 2, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
mikro-orm mikro-orm < 6.6.10, >= 7.0.0-rc.0, < 7.0.6 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @mikro-orm/core < 6.6.10 6.6.10 GHSA-gwhv-j974-6fxm
npm @mikro-orm/core >= 7.0.0-dev.0, < 7.0.6 7.0.6 GHSA-gwhv-j974-6fxm

References