CVE-2026-2950 — Vulnerability in lodash-es — CVE Details
lodash vulnerable to prototype pollution via array-path bypass in `_.unset`, `_.omit`, and `_.pullAt
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.46%). Schedule for your next planned update.
Does your project use an affected lodash-es version?
Paste your package-lock.json to check it for CVE-2026-2950 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
The _.unset, _.omit, and _.pullAt functions 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.
Patches
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.
Workarounds
None. Upgrade to the patched version.
References
- CVE-2025-13465 / GHSA-xxjr-mmjv-4gpg (original fix that this bypasses)
Advisory Timeline
- First published April 1, 2026 (238 days ago).
- Last revised November 3, 2026 — 216 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install lodash-es@4.18.1
npm install lodash-amd@4.18.1
npm install lodash.unset@4.18.0
npm install lodash@4.18.1
npm install lodash.omit@4.18.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: npm (5).
| Package | Fixed In |
|---|---|
| lodash-es npm · Affected: 4.17.23 | 4.18.1 |
| lodash-amd npm · Affected: 4.17.23 | 4.18.1 |
| lodash.unset npm · Affected: All versions | 4.18.0 |
| lodash npm · Affected: 4.17.23 | 4.18.1 |
| lodash.omit npm · Affected: All versions | 4.18.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
References
- https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rhWEB
- https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpgWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-2950ADVISORY
- https://github.com/lodash/lodash/commit/4f0e376589e1889e8993e212a5c9041112ad178eWEB
- https://github.com/lodash/lodash/commit/87e6676934f7b4450fad68c35f0325ba165b48f8WEB
- https://github.com/lodash/lodash/commit/bbcf0036d27ef936f175bf26e73e247994d8e1e4WEB
- https://github.com/lodash/lodash/commit/db27b6bb14b12a1451b20edf87dfe307b87a337dWEB
- https://github.com/lodash/lodash/commit/fe8d32eda854377349a4f922ab7655c8e5df9a0bWEB
- https://cna.openjsf.org/security-advisories.htmlWEB
- https://github.com/lodash/lodashPACKAGE
- https://github.com/lodash/lodash/releases/tag/4.18.1WEB
Frequently Asked Questions
- What is CVE-2026-2950?
- lodash vulnerable to prototype pollution via array-path bypass in `_.unset`, `_.omit`, and `_.pullAt. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2026-2950?
- CVE-2026-2950 affects lodash-es, lodash-amd and lodash.unset (and 2 more). It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-2950 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 31.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2019-10744CRITICAL
Prototype Pollution in lodash
- CVE-2021-23337HIGH
Command Injection in lodash
- CVE-2020-8203HIGH
Prototype Pollution in lodash
- CVE-2026-4800HIGH
lodash vulnerable to Code Injection via `_.template` imports key names
- CVE-2020-28500MEDIUM
Regular Expression Denial of Service (ReDoS) in lodash
- CVE-2026-94545MEDIUM
Satori-generated SVG has improper escaping
- CVE-2019-1010266MEDIUM
Regular Expression Denial of Service (ReDoS) in lodash
- CVE-2025-13465MEDIUM
Lodash has Prototype Pollution Vulnerability in `_.unset`, `_.omit`, and `_.pullAt` functions