CVE-2026-2950

GHSA-f23m-r3pf-42rh · published 31 Mar 2026 · updated 13 Nov 2026

lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.18.1, 4.18.0, lodash 4.18.1 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
lodashlodash-amd>=4.17.23 <4.18.14.18.1
lodashlodash-es>=4.17.23 <4.18.14.18.1
lodashlodash.omit<4.18.04.18.0
lodashlodash.unset<4.18.04.18.0
lodashlodash>=4.17.23 <4.18.14.18.1
lodash>=4.17.23 <4.18.1, <4.18.04.18.1, 4.18.0
npm: lodash>=4.17.23 <4.18.1, =4.17.234.18.1
npm: lodash-amd=4.17.23, >=4.17.23 <4.18.14.18.1
npm: lodash-es>=4.17.23 <4.18.1, =4.17.234.18.1
npm: lodash.omit<4.18.04.18.0
npm: lodash.unset<4.18.04.18.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in lodash (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-2950 severity on Zeptric[![CVE-2026-2950](https://zeptric.io/badge/cve/CVE-2026-2950.svg)](https://zeptric.io/cve/CVE-2026-2950)