Skip to main content
← All vulnerabilities
CVE-2026-2950GHSA-F23M-R3PF-42RH

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.18.1, 4.18.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • lodash 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

  • lodashnpm

    fixed in 4.18.0

  • lodash-esnpm

    fixed in 4.18.0

  • lodash-amdnpm

    fixed in 4.18.0

  • lodash.unsetnpm

    From 4.0.0 · fixed in 4.18.0

References 2

GitHub · lodash/lodash

cna.openjsf.org