GHSA-gcqx-w48m-w2h4 · published 18 Sep 2026 · updated 16 Nov 2026
deepmerge mergeObject() allows prototype poisoning of returned objects
5.0Medium
No exploitation in the wild has been reported. No fixed version is recorded.
deepmerge through 4.3.1 contains a prototype poisoning vulnerability in the mergeObject() function that fails to properly validate keys being written to target objects. Attackers can supply malicious source objects in merge operations to inject attacker-controlled properties into the returned object's prototype, causing applications to inherit unintended values when accessing properties without own-property checks.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| npm: deepmerge | >=4.2.0 <=4.3.1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket