NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-2950: lodash vulnerable to prototype pollution via array-path bypass in `_.unset`, `_.omit`, and `_.pullAt

mediumCVSS 3.1 6.5GHSA-f23m-r3pf-42rh

Impact The .unset, .omit, and .pullAt functions are vulnerable to prototype pollution. The fix for CVE-2025-13465 only guards against string key members, so an attacker can bypass the check by passing array-wrapped path segments. This allows deletion of properties from built-in prototypes such as Object.prototype, Number.prototype, and String.prototype.

Published Apr 1, 2026 · Updated Nov 3, 2026

Affected packages

lodash

Ecosystem
npm
Affected
= 4.17.23
Fixed in
4.18.1
Check
npm ls lodash

lodash-es

Ecosystem
npm
Affected
= 4.17.23
Fixed in
4.18.1
Check
npm ls lodash-es

lodash-amd

Ecosystem
npm
Affected
= 4.17.23
Fixed in
4.18.1
Check
npm ls lodash-amd

lodash.unset

Ecosystem
npm
Affected
< 4.18.0
Fixed in
4.18.0
Check
npm ls lodash.unset

lodash.omit

Ecosystem
npm
Affected
< 4.18.0
Fixed in
4.18.0
Check
npm ls lodash.omit

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

The _.unset, _.omit, and _.pullAt functions are vulnerable to prototype pollution. The fix for CVE-2025-13465 only guards against string key members, so an attacker can bypass the check by passing array-wrapped path segments. This allows deletion of properties from built-in prototypes such as Object.prototype, Number.prototype, and String.prototype.

The issue permits deletion of prototype properties but does not allow overwriting their original behavior.

Patches

The issue is patched from 4.18.0 to 4.18.1 depending on the package: lodash, lodash-es, and lodash-amd in 4.18.1, and the standalone lodash.unset and lodash.omit packages in 4.18.0.

Workarounds

None. Upgrade to the patched version.

References

Credited to Haruna38, shpik-kr, maru1009, ott3r07, zolbooo, backuardo, falsyvalues, jonchurch, jdalton, UlisesGascon.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries