Every CVE Search/ Get API key

CVE-2021-26707

Prototype pollution in Merge-deep

9.8 CriticalFix available

The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-pollution attacks against applications using this library.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.92%Up 1.1 points since Jun 3, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-pollution attacks against applications using this library.

Record
CVE-2021-26707
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-1321
Updated
2026-11-02
CVE List No score

The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-pollution attacks against applications using this library.

Record
CVE-2021-26707
Updated
2026-11-02
EUVDEUVD-2021-1394 No score

The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-pollution attacks against applications using this library.

Record
EUVD-2021-1394
Updated
2026-11-03
GitHub AdvisoriesGHSA-r6rj-9ch6-g264 9.8

Prototype pollution in Merge-deep

The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-pollution attacks against applications using this library.

Record
GHSA-r6rj-9ch6-g264
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-1321
Updated
2026-11-02
OSV 9.8

The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-pollution attacks against applications using this library.

Record
CVE-2021-26707
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-r6rj-9ch6-g264 9.8

Prototype pollution in Merge-deep

The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-pollution attacks against applications using this library.

Record
GHSA-r6rj-9ch6-g264
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-1321
Updated
2026-11-02
OSVROOT-APP-NPM-CVE-2021-26707 No score

CVE-2021-26707 in merge-deep - Patched by Root

Root has patched CVE-2021-26707 in the merge-deep package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2021-26707
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
merge-deep
npm
before 3.0.3
3.0.3
merge-deep
Root:npm
before 3.0.2-aikido.1
3.0.2-aikido.1
@rootio/merge-deep
Root:npm
before 3.0.2-root.io.1
3.0.2-root.io.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-26707 is a critical vulnerability (CVSS 9.8) in Merge-deep Project Merge-deep, published June 2, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.92%, the 80th percentile. Fixed in merge-deep 3.0.3.

References

MoveEnter Open