CVE-2026-2950

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

Configuration 1 (hide)

OR cpe:2.3:a:lodash:lodash:*:*:*:*:*:node.js:*:*
cpe:2.3:a:lodash:lodash-amd:*:*:*:*:*:node.js:*:*
cpe:2.3:a:lodash:lodash-es:*:*:*:*:*:node.js:*:*
cpe:2.3:a:lodash:lodash.unset:*:*:*:*:*:node.js:*:*

History

15 Oct 2026, 07:18

Type Values Removed Values Added
Summary (en) Impact: Lodash versions 4.17.23 and earlier are vulnerable to prototype pollution in the _.unset and _.omit functions. The fix for (CVE-2025-13465: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg) 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: This issue is patched in 4.18.0. Workarounds: None. Upgrade to the patched version. (en) 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.
References
  • {'url': 'https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg', 'tags': ['Vendor Advisory'], 'source': 'ce714d77-add3-4f53-aff5-83d477b104bb'}
  • () https://cna.openjsf.org/security-advisories.html -
  • () https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh -

Information

Published : 2026-03-31 20:16

Updated : 2026-10-15 07:18


NVD link : CVE-2026-2950

Mitre link : CVE-2026-2950

CVE.ORG link : CVE-2026-2950


JSON object : View

Products Affected

lodash

  • lodash-amd
  • lodash
  • lodash-es
  • lodash.unset
CWE
CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')