GHSA-gcqx-w48m-w2h4

    Dashboard / Vulnerabilities / GHSA-gcqx-w48m-w2h4

    GHSA-gcqx-w48m-w2h4

    Published: 18 Sept 2026Last Modified: 27 Oct 2026

    Summary: deepmerge mergeObject() allows prototype poisoning of returned objects

    Details: 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 packages

    Package

    Name: deepmerge

    Purl: pkg:npm/deepmerge

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 4.2.0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-gcqx-w48m-w2h4 | CVE-DB