---
title: "GHSA-qpfv-44f3-qqx6: MikroORM has Prototype Pollution in Utils.merge"
description: "High severity. MikroORM has Prototype Pollution in Utils.merge. Affects @mikro-orm/core; fixed in 7.0.6."
url: https://inlinr.com/advisories/GHSA-qpfv-44f3-qqx6
lang: en
---

[Packages](https://inlinr.com/packages) / [@mikro-orm/core](https://inlinr.com/packages/@mikro-orm/core) / [Security](https://inlinr.com/packages/@mikro-orm/core/security)

High Vulnerability GHSA-qpfv-44f3-qqx6 CVE-2026-34221 Published 29 Mar 2026

# MikroORM has Prototype Pollution in Utils.merge

Your version 

Affected releases · [@mikro-orm/core](https://inlinr.com/packages/@mikro-orm/core)

- 7.x 7.0.0 – 7.0.5 Fixed in 7.0.6
- 6.x 6.0.0 – 6.6.9 Fixed in 6.6.10
- 5.x and older 4.0.0 – 5.9.8 No fix, no longer updated

On 7.x, the newest line:

```
npm install @mikro-orm/core@7.0.6
```

Every release on a timeline

7.x 

1. Affected

7.0.0 – 7.0.5  
6 releases
2. Fixed

7.0.6 – 7.2.11  
40 releases, latest

6.x 

1. Affected

6.0.0 – 6.6.9  
82 releases
2. Fixed

6.6.10 – 6.6.19  
10 releases

5.x 

1. Affected

5.0.0 – 5.9.8  
78 releases

4.x 

1. Affected

4.0.0 – 4.5.10  
34 releases

250 stable releases of @mikro-orm/core, oldest to newest, one row per major.

## What happens

A prototype pollution vulnerability exists in the `Utils.merge` helper used internally by MikroORM when merging object structures.

The function did not prevent special keys such as `__proto__`, `constructor`, or `prototype`, allowing attacker-controlled input to modify the JavaScript object prototype when merged.

Exploitation requires application code to pass untrusted user input into ORM operations that merge object structures, such as entity property assignment or query condition construction.

Prototype pollution may lead to denial of service or unexpected application behavior. In certain scenarios, polluted properties may influence query construction and potentially result in SQL injection depending on application code.

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: high
- **Availability**: high

CVSS:4.0/​AV:N/​AC:L/​AT:P/​PR:N/​UI:N/​VC:N/​VI:H/​VA:H/​SC:N/​SI:L/​SA:L

## References

- [Reference](https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-qpfv-44f3-qqx6 "https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-qpfv-44f3-qqx6")  
github.com/mikro-orm/mikro-orm/security/advisor…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-34221 "https://nvd.nist.gov/vuln/detail/CVE-2026-34221")  
nvd.nist.gov/vuln/detail/CVE-2026-34221
- [Package](https://github.com/mikro-orm/mikro-orm "https://github.com/mikro-orm/mikro-orm")  
github.com/mikro-orm/mikro-orm

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
