CVE-2026-137088: @oleksii-pavlov/deep-merge before 1.2.4 Prototype Pollution via deepMergeTwoAssignable()
@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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
@oleksii-pavlov/deep-mergeto a version that resolves this vulnerability.Fixed in 1.2.4
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using versions before 1.2.4 are exposed if they pass attacker-controlled JSON-parsed objects to deepMerge(), deepMergeAndAssign(), deepUpdate(), or deepUpdateAndAssign(). The vulnerable path is reached when the supplied object includes a __proto__ key.
Does exploitation require authentication or user interaction?
No. The supplied severity vector indicates network-reachable exploitation with low complexity, no privileges, and no user interaction, provided an attacker can cause crafted input to reach a vulnerable merge or update call.
What can happen after successful exploitation?
An attacker can modify Object.prototype and inject inherited properties. The stated impacts include application logic bypass and denial of service, with low confidentiality, integrity, and availability impact.
What should be done if an upgrade cannot be applied immediately?
Prevent untrusted JSON-parsed input from reaching the affected merge and update functions, and reject or remove __proto__ keys before processing. This reduces exposure to the described prototype-pollution input.