@oleksii-pavlov/deep-merge before 1.2.4 Prototype Pollution via deepMergeTwoAssignable()
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 25, 2026
Description
@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.
| Product | Versions |
|---|---|
| @oleksii-pavlov/deep-merge oleksii-pavlov | before 1.2.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 7.3 High | VulnCheck |
Weaknesses
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://github.com/Alekseypavlov14/deep-merge/commit/cb8319f023b7d9604b7af751d2ab56cda5555595Patch
- https://github.com/Alekseypavlov14/deep-merge/blob/7dcc06552f22d23164f6ccfc1daa5818a1c93fc7/src/utils/deepMergeTwoAssignable.ts#L5-L14Technical Details
- https://github.com/Alekseypavlov14/deep-merge/blob/7dcc06552f22d23164f6ccfc1daa5818a1c93fc7/src/utils/isAssignable.tsTechnical Details
- VulnCheck Advisory: @oleksii-pavlov/deep-merge before 1.2.4 Prototype Pollution via deepMergeTwoAssignable()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.