CVE-2026-2950
The _.unset and _.omit functions in Lodash 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. 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.
- CVSS 3.1
- 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - EPSS
- 0.3% chance of exploitation in the next 30 days; higher than 25% of CVEs (scores of 2026-10-25)
- CWE
- CWE-1321
- Published
- Modified
- Record from
- the NVD, synced
Affected
- lodash:lodash
- lodash:lodash-amd
- lodash:lodash-es
- lodash:lodash.unset
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-f23m-r3pf-42rh | npm | lodash | <4.18.0 | 4.18.0 |
| GHSA-f23m-r3pf-42rh | npm | lodash-es | <4.18.0 | 4.18.0 |
| GHSA-f23m-r3pf-42rh | npm | lodash-amd | <4.18.0 | 4.18.0 |
| GHSA-f23m-r3pf-42rh | npm | lodash.unset | >=4.0.0 <4.18.0 | 4.18.0 |