Skip to main content

Prototype Pollution CVE-2026-34221

| EUVDEUVD-2026-17488 HIGH
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-03-29 https://github.com/mikro-orm/mikro-orm GHSA-qpfv-44f3-qqx6
8.3
CVSS 4.0 · Vendor: https://github.com/mikro-orm/mikro-orm
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send untrusted input to ORM merge operation
  2. Exploit
    Inject __proto__ or constructor key
  3. Execution
    Pollute JavaScript prototype chain
  4. Impact
    Trigger denial of service or unexpected behavior

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A03:2021 - Injection
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires MikroORM application to pass untrusted user input into ORM operations that merge object structures (entity property assignment or query condition construction). Remote unauthenticated attacker can exploit via crafted input; no victim interaction needed. Affects default MikroORM configurations without input sanitization.

Impact

Real-world risk assessment requires careful context analysis due to missing CVSS scoring and EPSS data. The vulnerability requires specific preconditions: applications must pass untrusted user input directly into ORM merge operations without prior sanitization. This is not the default usage pattern for most ORMs, which typically validate input through schema definitions and type systems. However, dynamic query builders and flexible update operations may create exposure. The dual impact of denial of service (more likely) and potential SQL injection (scenario-dependent) creates uncertainty. SQL injection would require polluted prototype properties to flow into query construction logic AND bypass parameterization, making it a secondary concern requiring specific code patterns. The GitHub security advisory from project maintainers indicates responsible disclosure and likely patch availability, suggesting lower urgency than actively exploited vulnerabilities. Without CVSS metrics, attack vector and complexity remain unclear, though the requirement for application-specific vulnerable code patterns suggests medium complexity. No CISA KEV listing and no public exploit identified at time of analysis indicate this is not being actively exploited. Priority depends heavily on whether your application passes unsanitized user input to ORM operations-most production applications using TypeScript type safety and validation frameworks have lower exposure.

Exploit ScenarioDerived

An attacker submits a malicious user profile update request containing {"__proto__": {"isAdmin": true}} through a REST API endpoint. The application passes this JSON directly to MikroORM's entity update operation without sanitization. The vulnerable Utils.merge function processes the object, polluting the JavaScript Object prototype with isAdmin=true. Subsequently, all objects in the application runtime inherit this property, potentially bypassing authorization checks that test for admin privileges. In a more severe scenario, the attacker pollutes prototype properties used in query construction (e.g., {"__proto__": {"table": "users--"}}), causing malformed SQL queries that either crash the application (denial of service) or, if the ORM fails to properly parameterize the polluted values, enable SQL injection. No public exploit identified at time of analysis, though the attack technique is well-documented in prototype pollution research.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 29, 2026

Prototype pollution in MikroORM's Utils.merge function allows attackers to modify JavaScript object prototypes when applications pass untrusted user input into ORM operations. Affects @mikro-orm/core npm package, enabling denial of service and potentially SQL injection when polluted properties influence query construction. No public exploit identified at time of analysis, though GitHub security advisory published by the project maintainers confirms the vulnerability class (CWE-1321).

RemediationAI

Consult the official GitHub security advisory at https://github.com/mikro-orm/mikro-orm/security/advisories/GHSA-qpfv-44f3-qqx6 for vendor-confirmed patch versions and upgrade guidance. Upstream fix available through the project's GitHub repository, though released patched version number not independently confirmed from provided data. Primary remediation requires upgrading @mikro-orm/core to the patched release specified in the advisory. As an immediate workaround, implement input validation and sanitization before passing user-controlled data to ORM operations, specifically filtering or rejecting objects containing __proto__, constructor, or prototype keys. Use Object.create(null) for user-input objects to prevent prototype chain inheritance, or employ libraries like lodash's merge with prototype pollution protections. Review application code for patterns that dynamically assign user input to entity properties or query conditions without schema validation. The GitHub advisory at https://github.com/advisories/GHSA-qpfv-44f3-qqx6 may contain additional mitigation guidance.

Affected VersionsENISA

mikro-orm 7.0.0-rc.0, < 7.0.6
mikro-orm < 6.6.10

Affected Packages

npm @mikro-orm/core fix: 6.6.10, 7.0.6
euvd mikro_orm fix: 6.6.10
euvd mikro_orm_7_0_0_rc_0 fix: 7.0.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MikroORM is a TypeScript ORM for Node.js supporting multiple SQL databases. The vulnerability resides in the internal Utils.merge helper function, which performs deep object merging for entity property assignment and query condition construction. The function lacks proper filtering of dangerous JavaScript special keys (__proto__, constructor, prototype), implementing the classic prototype pollution pattern (CWE-1321). When untrusted input flows through ORM operations like entity updates or query builders, attackers can inject these special keys to modify the base Object prototype chain. The affected package is pkg:npm/@mikro-orm_core, indicating the core ORM package distributed via npm. Prototype pollution in JavaScript allows modification of properties inherited by all objects in the runtime, creating a cross-cutting attack surface that transcends normal application boundaries.

Know when Prototype Pollution gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/mikro-orm/mikro-orm) PRIMARY 8.3 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:L/SA:L

Primary rating from Vendor (https://github.com/mikro-orm/mikro-orm) · only source for this CVE.

CVSS VectorVendor: https://github.com/mikro-orm/mikro-orm

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 29, 2026 - 15:44 nvd
HIGH 8.3

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on @mikro-orm/core (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 7.0.0-dev.0.

Executive ViewAI

Why It Matters

CVE-2026-34221 presents moderate security risk, a prototype pollution vulnerability. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and consider compensating controls in the interim.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Implement network-level access controls to limit exposure; (2) Enable enhanced monitoring and alerting; (3) Apply principle of least privilege.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

Exploitation
None
System Exposure· derived
Open
Automatable
No
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Related Vulnerabilities in MikroORM SQL Injection and Prototype Pollution

View all 2
CVE-2026-34621 HIGH POC
8.6 Apr 11

Prototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu

CVE-2021-23450 CRITICAL POC
9.8 Dec 17

All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (

CVE-2024-56059 CRITICAL
9.8 Dec 18

Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau

CVE-2021-23383 CRITICAL POC
9.8 May 04

The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co

CVE-2020-7788 CRITICAL POC
9.8 Dec 11

This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2020-28271 CRITICAL POC
9.8 Nov 12

Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service

CVE-2023-38894 CRITICAL POC
9.8 Aug 16

A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi

CVE-2024-24292 CRITICAL POC
9.8 Mar 28

A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function

CVE-2023-26121 CRITICAL POC
10.0 Apr 11

All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s

CVE-2021-23449 CRITICAL POC
10.0 Oct 18

This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr

CVE-2024-39011 CRITICAL POC
9.8 Jul 30

Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser

CVE-2024-38988 CRITICAL POC
9.8 Mar 28

alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy