Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @mikro-orm/core
  4. ›
  5. CVE-2026-34221

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

March 29, 2026

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.

References

  • github.com/advisories/GHSA-qpfv-44f3-qqx6
  • github.com/mikro-orm/mikro-orm
  • github.com/mikro-orm/mikro-orm/security/advisories/GHSA-qpfv-44f3-qqx6
  • nvd.nist.gov/vuln/detail/CVE-2026-34221

Code Behaviors & Features

Detect and mitigate CVE-2026-34221 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.6.10, all versions starting from 7.0.0-dev.0 before 7.0.6

Fixed versions

  • 6.6.10
  • 7.0.6

Solution

Upgrade to versions 6.6.10, 7.0.6 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/@mikro-orm/core/CVE-2026-34221.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 31 Mar 2026 00:19:07 +0000.