CVE-2026-34221
JSON

8.3high

MikroORM has Prototype Pollution in Utils.merge

Severity
8.3high CVSS:4.0 by GitHub_M
Exploit likelihood
0.43% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-qpfv-44f3-qqx6

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

Product or packageVersionsReported by
mikro-orm mikro-orm< 6.6.10, >= 7.0.0-rc.0, < 7.0.6CVE List
@mikro-orm/core (npm)before 6.6.10, from 7.0.0-dev.0 before 7.0.6GitHub Advisory Database
mikro-orm mikroormbefore 6.6.10, from 7.0.0 before 7.0.6NVD

All scores

GitHub_M8.3high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:L/SA:L
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:L/SA:L
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-1321

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

MikroORM es un ORM de TypeScript para Node.js basado en los patrones Data Mapper, Unit of Work e Identity Map. Antes de las versiones 6.6.10 y 7.0.6, existe una vulnerabilidad de contaminación de prototipos en el asistente Utils.merge utilizado internamente por MikroORM al fusionar estructuras de objetos. La función no impedía claves especiales como __proto__, constructor o prototype, permitiendo que la entrada controlada por el atacante modificara el prototipo de objeto de JavaScript cuando se fusionaba. Este problema ha sido parcheado en las versiones 6.6.10 y 7.0.6.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34221 changed 2026-03-31CVE Terms of Use
GitHub Advisory DatabaseGHSA-qpfv-44f3-qqx6 changed 2026-03-31CC-BY-4.0
NVDCVE-2026-34221 changed 2026-07-24Public domain