6.5
Medium
CVE-2026-2950 The _.unset and _.omit functions in Lodash are vulnerable to prototype pollution
Description
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| lodash 4.18 | earliest → < 4.18.1 | 4.18.1 |
| lodash 4.17 | 4.17.23 → < 4.18.1 | 4.18.1 |
| lodash-es 4.18 | earliest → < 4.18.1 | 4.18.1 |
| lodash-es 4.17 | 4.17.23 → < 4.18.1 | 4.18.1 |
| lodash-amd 4.18 | earliest → < 4.18.1 | 4.18.1 |
| lodash-amd 4.17 | 4.17.23 → < 4.18.1 | 4.18.1 |
| lodash.unset 4.18 | earliest → < 4.18.0 | 4.18.0 |
| lodash.omit 4.18 | earliest → < 4.18.0 | 4.18.0 |
References
- github.com github.com
- cna.openjsf.org cna.openjsf.org
Timeline
- Published
- Last modified
Other CVEs of lodash
The 4 CVEs of lodash →
CVE-2026-4800
The fix for CVE-2021-23337 added validation for the variable option in _.template but did not apply the same…
8.1
High
CVE-2025-13465
The _.unset and _.omit functions in Lodash are vulnerable to prototype pollution
6.9
Medium
CVE-2019-1010266
lodash prior to 4.17.11 is affected by: CWE-400: Uncontrolled Resource Consumption
Not rated