MikroORM has Prototype Pollution in Utils.merge
Package
Affected versions
< 6.6.10
>= 7.0.0-dev.0, < 7.0.6
Patched versions
6.6.10
7.0.6
Description
Published to the GitHub Advisory Database
Mar 29, 2026
Reviewed
Mar 29, 2026
Published by the National Vulnerability Database
Mar 31, 2026
Last updated
Mar 31, 2026
A prototype pollution vulnerability exists in the
Utils.mergehelper used internally by MikroORM when merging object structures.The function did not prevent special keys such as
__proto__,constructor, orprototype, 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.
References