@mikro-orm/core
Affected
- introduced
0, fixed6.6.10(semver)
Fixed versions
6.6.10
Fix
- Fixed version
6.6.10npm install @mikro-orm/[email protected]
Advisory
Also known as: CVE-2026-34221
MikroORM has Prototype Pollution in Utils.merge
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.
High Basis: The source's own band: HIGH
0, fixed 6.6.10 (semver)6.6.10
6.6.10npm install @mikro-orm/[email protected]7.0.0-dev.0, fixed 7.0.6 (semver)7.0.6
7.0.6npm install @mikro-orm/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0