Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft JSON with __proto__ key
-
ExploitApplication passes input to deepMerge/deepUpdate
-
ExecutionPollute Object.prototype via recursive merge
-
ImpactTrigger 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
EUVD-2026-135758
GHSA-hchh-fpc4-5frg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB