CVE 6.5 MEDIUM

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

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

Description

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.

Basic Information

ID CVE-2026-2950
Source openjs
Published Mar 31, 2026 at 19:18
Modified Apr 1, 2026 at 13:43

Affected Product

Vendor lodash
Product lodash
Version 4.17.23
Affected Versions lodash lodash 4.17.23
lodash lodash-es 4.17.23
lodash lodash-amd 4.17.23
lodash lodash.unset 4.0.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.