Skip to main content

CVE-2026-2950 — Vulnerability in lodash-es — CVE Details

MEDIUM

lodash vulnerable to prototype pollution via array-path bypass in `_.unset`, `_.omit`, and `_.pullAt

Published April 1, 2026Updated November 3, 2026Source: OSV

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.

Check my package-lock.json

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

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
Update lodash-es to 4.18.1 or later
npm install lodash-es@4.18.1
npm
Update lodash-amd to 4.18.1 or later
npm install lodash-amd@4.18.1
npm
Update lodash.unset to 4.18.0 or later
npm install lodash.unset@4.18.0
npm
Update lodash to 4.18.1 or later
npm install lodash@4.18.1
npm
Update lodash.omit to 4.18.0 or later
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).

PackageFixed In
lodash-es npm · Affected: 4.17.234.18.1
lodash-amd npm · Affected: 4.17.234.18.1
lodash.unset npm · Affected: All versions4.18.0
lodash npm · Affected: 4.17.234.18.1
lodash.omit npm · Affected: All versions4.18.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-1321
    Prototype PollutionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

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

CVSS Score
6.5

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.46%
EPSS percentile: 31.7

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

GHSA-f23m-r3pf-42rh

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json