CVE-2026-2950
MEDIUM 5.3CVSS 3.1lodash vulnerable to prototype pollution via array-path bypass in `_.unset`, `_.omit`, and `_.pullAt
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.
- Published
- 31 Mar 2026
- Last modified
- 13 Nov 2026
- Assigned by
- ce714d77-add3-4f53-aff5-83d477b104bb
- NVD status
- Analyzed
- Weakness
- CWE-1321
- Also known as
- GHSA-f23m-r3pf-42rh
- Sources
- NVDJSONOSV GHSA-f23m-r3pf-42rhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lodash | lodashcpe:2.3:a:lodash:lodash:*:*:*:*:*:node.js:*:* |
>= 4.17.23, < 4.18.1 | 4.18.1 |
| NVD | lodash | lodash-amdcpe:2.3:a:lodash:lodash-amd:*:*:*:*:*:node.js:*:* |
>= 4.17.23, < 4.18.1 | 4.18.1 |
| NVD | lodash | lodash-escpe:2.3:a:lodash:lodash-es:*:*:*:*:*:node.js:*:* |
>= 4.17.23, < 4.18.1 | 4.18.1 |
| NVD | lodash | lodash.omitcpe:2.3:a:lodash:lodash.omit:*:*:*:*:*:node.js:*:* |
< 4.18.0 | 4.18.0 |
| NVD | lodash | lodash.unsetcpe:2.3:a:lodash:lodash.unset:*:*:*:*:*:node.js:*:* |
< 4.18.0 | 4.18.0 |
| OSV | npm | lodash | >= 4.17.23, < 4.18.1 | 4.18.1 |
| OSV | npm | lodash-es | >= 4.17.23, < 4.18.1 | 4.18.1 |
| OSV | npm | lodash-amd | >= 4.17.23, < 4.18.1 | 4.18.1 |
| OSV | npm | lodash.unset | < 4.18.0 | 4.18.0 |
| OSV | npm | lodash.omit | < 4.18.0 | 4.18.0 |
References
- https://cna.openjsf.org/security-advisories.html · Vendor Advisory, WEB
- https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh · Vendor Advisory, WEB
- https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-2950 · ADVISORY
- https://github.com/lodash/lodash/commit/4f0e376589e1889e8993e212a5c9041112ad178e · WEB
- https://github.com/lodash/lodash/commit/87e6676934f7b4450fad68c35f0325ba165b48f8 · WEB
- https://github.com/lodash/lodash/commit/bbcf0036d27ef936f175bf26e73e247994d8e1e4 · WEB
- https://github.com/lodash/lodash/commit/db27b6bb14b12a1451b20edf87dfe307b87a337d · WEB
- https://github.com/lodash/lodash/commit/fe8d32eda854377349a4f922ab7655c8e5df9a0b · WEB
- https://github.com/lodash/lodash · PACKAGE
- https://github.com/lodash/lodash/releases/tag/4.18.1 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Apr 2026)