Intel

AIKIDO-2026-189719

@mikro-orm/core is vulnerable to Prototype Pollution

GHSA-93qp-gfm8-3hc7Published Aug 10, 2026
August 10, 2026

37

CVE Score

Low

Prototype Pollution

Are you affected? Scan for Free

TL;DR

Utils.copy() in @mikro-orm/core builds the copy with Object.create() and then assigns each enumerable key onto it. An own __proto__ key, as produced by JSON.parse(), reaches the inherited setter and replaces the copy's prototype instead of being copied. Untrusted JSON reaching copy paths therefore replace the copied object's prototype, bypassing the guards from earlier prototype pollution fixes. The fix skips an own __proto__ key when cloning.

How do I fix this?

Upgrade the @mikro-orm/core library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes data parsed from untrusted JSON into MikroORM APIs that copy it.

Versions

5.0.1 - 7.1.10

Fixed in 7.1.11

Background info

@mikro-orm/core is vulnerable to Prototype Pollution in versions 5.0.1 - 7.1.10.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea