Skip to main content

deep-merge CVE-2026-137088

| EUVDEUVD-2026-135758 MEDIUM
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-11-25 VulnCheck GHSA-hchh-fpc4-5frg
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft JSON with __proto__ key
  2. Exploit
    Application passes input to deepMerge/deepUpdate
  3. Execution
    Pollute Object.prototype via recursive merge
  4. Impact
    Trigger logic bypass or denial of service

Vulnerability Assessment

Weakness
CWE
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

Exploitation requires the host application to pass attacker-controlled, JSON-parsed input containing a __proto__ (or constructor.prototype) key into one of the affected functions - deepMerge(), deepMergeAndAssign(), deepUpdate() or deepUpdateAndAssign() - in a version before 1.2.4. The pre-fix deepMergeTwoAssignable() iterates Object.keys(source) and assigns values without an own-property/dangerous-key guard, so the __proto__ branch reaches Object.prototype. LIMITING FACTORS: the vulnerability is not directly network-exposed by the library itself - the application must actually route untrusted input into these merge/update calls; impact is limited to prototype pollution (logic bypass or DoS) rather than direct code execution, and the library itself imposes no authentication. Upgrading to 1.2.4 (which adds Object.hasOwn checks, a stricter isAssignable prototype check, and deepClone) is the fix.

Impact

This is a medium-severity (CVSS 4.0 base 6.9) prototype pollution flaw (CWE-1321) in the npm package @oleksii-pavlov/deep-merge before 1.2.4. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L) indicates a network-reachable, low-complexity, unauthenticated issue with low impact to confidentiality, integrity, and availability - consistent with a library-level pollution bug rather than direct RCE. No EPSS score is provided, the CVE is NOT on the CISA KEV list, and no working exploit code is confirmed in the input, so there is no signal of active or widespread exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with the absence of KEV/EPSS exploitation pressure. The key caveat is that the AV:N/PR:N rating reflects the library's own behavior, but real-world exploitability is gated by the host application: the flaw is only reachable if the application feeds attacker-controlled JSON-parsed input into the affected merge/update functions. Overall this is a legitimate but moderate-priority issue - a real defect with a confirmed fix, but no evidence it is a high-urgency, in-the-wild threat.

Exploit ScenarioDerived

An application uses @oleksii-pavlov/deep-merge (pre-1.2.4) to merge user-submitted JSON (e.g. request bodies or config) into an internal object via deepMerge() or deepUpdate(). A remote attacker submits a payload such as {"__proto__":{"polluted":"yes"}} (or a constructor.prototype variant), which the vulnerable deepMergeTwoAssignable() copies onto Object.prototype, injecting an inherited property across all objects. This leads to application logic bypass or denial of service; no working public exploit is confirmed in the available sources, though the vulnerable source lines and fix are published on GitHub.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.9% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 25, 2026

Prototype pollution in the npm package @oleksii-pavlov/deep-merge before 1.2.4 allows unauthenticated remote attackers to write attacker-chosen properties onto Object.prototype by supplying a __proto__ (or constructor.prototype) key inside JSON-parsed input that the host application passes to deepMerge(), deepMergeAndAssign(), deepUpdate() or deepUpdateAndAssign(). Successful exploitation yields logic bypass or denial of service in the consuming application rather than direct code execution, and the library itself is not network-exposed - the application must actually route untrusted input into these merge calls. No public exploit code was identified at time of analysis and no EPSS score was supplied; the vendor has released a fixed version (1.2.4), and the vulnerability is tracked as CWE-1321 with a CVSS 4.0 base score of 6.9.

RemediationAI

Upgrade @oleksii-pavlov/deep-merge to 1.2.4 or later - vendor-released patch 1.2.4 (commit cb8319f023b7d9604b7af751d2ab56cda5555595) adds the Object.hasOwn recursion guard, deepClone of source values, Object.defineProperty-based writes and a stricter isAssignable() prototype check that together close the __proto__ and constructor.prototype paths; upgrading is the only complete fix per the upstream changelog, which explicitly lists improved safety for __proto__ and constructor. Where an immediate dependency bump is not possible, the practical compensating control is to sanitize or reject untrusted payloads before they reach the merge functions: strip __proto__, constructor and prototype keys from JSON-parsed input (or validate against a strict schema/allow-list of permitted keys) at the boundary where external data enters deepMerge(), deepMergeAndAssign(), deepUpdate() or deepUpdateAndAssign(). The trade-off is that legitimate data legitimately carrying those key names will be dropped or rejected, so the filter must be scoped to the specific call sites that handle external input. Running the consuming service with Object.freeze(Object.prototype) or a hardened runtime that blocks prototype mutation raises the bar further, but can break third-party libraries that legitimately extend prototypes and therefore needs staging validation. Consult the VulnCheck advisory at https://www.vulncheck.com/advisories/oleksii-pavlov-deep-merge-before-1.2.4-prototype-pollution-via-deepmergetwoassignable for the full disclosure details.

Affected VersionsENISA

@oleksii-pavlov/deep-merge 0 <1.2.4

Affected Packages

euvd oleksii_pavlov_deep_merge fix: 1.2.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The flaw is a classic prototype pollution (CWE-1321) rooted in the recursive merge helper deepMergeTwoAssignable(). In versions before 1.2.4 the function iterated Object.keys(source) and performed a plain assignment (target[key] = source[key]) whenever the key was not present on both sides as mergeable objects, with no own-property check and no filtering of dangerous keys such as __proto__ and constructor. Because JSON.parse() creates __proto__ as a genuine own enumerable property (unlike an object literal, where it mutates the prototype at construction time), a payload of the form {"__proto__":{"polluted":"yes"}} survives parsing, is walked by Object.keys(), and the recursive descent reaches Object.prototype and attaches inherited properties visible to every object in the process. The pre-fix isAssignable() helper was also weak, testing value?.constructor === Object, which is satisfied by objects carrying attacker-influenced prototypes. The 1.2.4 commit cb8319f addresses the root cause on several fronts: it introduces a deepClone() of each source value, guards recursion with Object.hasOwn(target, key), writes values through Object.defineProperty with explicit enumerable/configurable/writable descriptors instead of direct assignment, and rewrites isAssignable() to accept only non-null, non-array objects whose Object.getPrototypeOf() is Object.prototype or null. The commit also adds regression tests for __proto__ and constructor.prototype payloads and a test ensuring nested objects are copied rather than shared by reference. The affected package is identified by CPE cpe:2.3:a:oleksii-pavlov:@oleksii-pavlov/deep-merge:*:*:*:*:*:*:*:* covering all releases prior to 1.2.4.

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 (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 7.3 HIGH

Library accepts untrusted JSON with no auth or interaction (AV:N/AC:L/PR:N/UI:N); prototype pollution yields partial integrity/logic-bypass and DoS with minor confidentiality, scope unchanged, all Low.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

@oleksii-pavlov/deep-merge before 1.2.4 contains a prototype pollution vulnerability in deepMergeTwoAssignable() that allows remote attackers to modify Object.prototype by supplying a __proto__ key. Attackers can pass JSON-parsed input to deepMerge(), deepMergeAndAssign(), deepUpdate() or deepUpdateAndAssign() to inject inherited properties, causing logic bypass or denial of service.

Threat Intelligence Overview

EPSS Score
0.9%
Top 44% exploitable
Prevalence
Rare
obscure personal-scoped npm utility library, negligible enterprise footprint
Data Quality
3 sources
Confidence: Low

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.9%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

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

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