---
id: CVE-2026-34220
title: >-
  MikroORM is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work
  and Identity Map patterns
summary: >-
  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 q…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-89
vendor: mikro-orm
product: mikroorm
affected:
  - mikroorm < 6.6.10
  - 'mikroorm >= 7.0.0, < 7.0.6'
patched:
  - mikroorm 7.0.6
published: '2026-03-31'
updated: '2026-07-24'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-34220'
references:
  - url: >-
      https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-gwhv-j974-6fxm
    label: security-advisories@github.com
tags:
  - nvd
  - exploit-available
epss: 0.00468
epssPercentile: 0.3782
ingestedAt: '2026-07-24T20:38:02.363Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/EQSTLab/CVE-2026-34220'
  checkedAt: '2026-09-25T08:20:55.382Z'
exploitAvailable: true
---

## Overview

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

- `mikroorm < 6.6.10`
- `mikroorm >= 7.0.0, < 7.0.6`

## Remediation

Upgrade past the affected range:

- `mikroorm 7.0.6`
