CVE-2026-34220: Vulnerability in Mikroorm

Critical. 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.

npm, CWE-89

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-gwhv-j974-6fxm
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Published
29 Mar 2026
Last change
24 Jul 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Mikroorm Before 6.6.10; From 7.0.0 before 7.0.6. Fixed in 6.6.10, 7.0.6

Affected packages

Vulnerable version ranges and fixed releases

  • @mikro-orm/core npm, Affected before 6.6.10. Fixed in 6.6.10

Advisories

Vendor and security advisories

Related