CVE-2026-34221 Details
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.
A prototype pollution vulnerability has been identified in MikroORM, a TypeScript ORM for Node.js. This issue affects versions 6.6.9 and prior, as well as 7.x through 7.0.5. The vulnerability arises in the 'Utils.merge' helper, which is used internally by MikroORM to merge object structures. The function fails to sanitize special keys like '__proto__', 'constructor', and 'prototype', allowing attacker-controlled input to alter the JavaScript object prototype during the merge process. Exploitation of this vulnerability requires application code to pass untrusted user input into ORM operations that merge objects, such as assigning entity properties or constructing query conditions. The prototype pollution could lead to a denial-of-service condition or cause unexpected application behavior. In some cases, the polluted properties might affect query construction and potentially allow for SQL injection, depending on the application's code.
Users can upgrade to MikroORM versions 6.6.10 or 7.0.6 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-qpfv-44f3-qqx6 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mikro-orm mikroorm | < 6.6.10 >= 7.0.0, < 7.0.6 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 3, 2026 | Initial Analysis | [email protected] |
| Mar 31, 2026 | New CVE Received | [email protected] |