What’s Vulnerable › Vulnerabilities

CVE-2026-34221: MikroORM has Prototype Pollution in Utils.merge

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, 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. This issue has been patched in versions 6.6.10 and 7.0.6.

Affected products

How to fix

Upgrade to a fixed version: mikro-orm Mikroorm 6.6.10, 7.0.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-34221 or the next vulnerability affects your stack