CVE-2026-2950
lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`
- Published
- Updated
- Reserved
- Assigned by
- openjs
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| openjsCNA (assigner) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.34% · top 73% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
- affected 4.17.23 – < 4.18.1
- unaffected 4.18.1
- affected 4.17.23 – < 4.18.1
- unaffected 4.18.1
- affected 4.17.23 – < 4.18.1
- unaffected 4.18.1
- affected < 4.18.0
- unaffected 4.18.0
- affected < 4.18.0
- unaffected 4.18.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmlodashGHSA-f23m-r3pf-42rh (opens in a new tab)
- npmlodash-amdGHSA-f23m-r3pf-42rh (opens in a new tab)
- npmlodash-esGHSA-f23m-r3pf-42rh (opens in a new tab)
- npmlodash.omitGHSA-f23m-r3pf-42rh (opens in a new tab)
- npmlodash.unsetGHSA-f23m-r3pf-42rh (opens in a new tab)
References (2)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-f23m-r3pf-42rh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-2950)Record last updated .