lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`
Summary
| CVE | CVE-2026-2950 |
|---|---|
| State | PUBLISHED |
| Assigner | openjs |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-31 20:16:26 UTC |
| Updated | 2026-10-15 07:18:00 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS: 0.003170000 probability, percentile 0.240830000 (date 2026-07-26)
Problem Types: CWE-1321 | CWE-1321 CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | ce714d77-add3-4f53-aff5-83d477b104bb | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| 3.1 | CNA | CVSS | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Lodash | Lodash | All | All | All | All |
| Application | Lodash | Lodash-amd | All | All | All | All |
| Application | Lodash | Lodash-es | All | All | All | All |
| Application | Lodash | Lodash.unset | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Lodash | Lodash | affected 4.17.23 4.18.1 semver | Not specified |
| CNA | Lodash | Lodash | unaffected 4.18.1 semver | Not specified |
| CNA | Lodash | Lodash-es | affected 4.17.23 4.18.1 semver | Not specified |
| CNA | Lodash | Lodash-es | unaffected 4.18.1 semver | Not specified |
| CNA | Lodash | Lodash-amd | affected 4.17.23 4.18.1 semver | Not specified |
| CNA | Lodash | Lodash-amd | unaffected 4.18.1 semver | Not specified |
| CNA | Lodash | Lodash.unset | affected 4.18.0 semver | Not specified |
| CNA | Lodash | Lodash.unset | unaffected 4.18.0 semver | Not specified |
| CNA | Lodash | Lodash.omit | affected 4.18.0 semver | Not specified |
| CNA | Lodash | Lodash.omit | unaffected 4.18.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cna.openjsf.org/security-advisories.html | ce714d77-add3-4f53-aff5-83d477b104bb | cna.openjsf.org | |
| github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh | ce714d77-add3-4f53-aff5-83d477b104bb | github.com | |
| github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Haruna38 (en)
CNA: shpik-kr (en)
CNA: maru1009 (en)
CNA: ott3r07 (en)
CNA: zolbooo (en)
CNA: backuardo (en)
CNA: falsyvalues (en)
CNA: jonchurch (en)
CNA: jdalton (en)
CNA: UlisesGascon (en)
There are currently no legacy QID mappings associated with this CVE.