Vulnerability · Published Mar 31, 2026 · Assigned by GitHub_M

CVE-2026-34220MikroORM is vulnerable to SQL Injection via specially crafted object

Critical 9.8

In plain English

A critical-severity SQL injection in mikro-orm from mikro-orm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.4%top 62.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
npm@mikro-orm/core6.6.10GHSA-gwhv-j974-6fxm
npm@mikro-orm/core7.0.6GHSA-gwhv-j974-6fxm

Affected products (as reported)

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

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References