CVE-2026-2950: lodash vulnerable to prototype pollution via array-path bypass in `_.unset`, `_.omit`, and `_.pullAt

Published Mar 31, 2026
·
Updated

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

Other sources

Impact

The .unset, .omit, and .pullAt functions 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.

Patches

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.

Workarounds

None. Upgrade to the patched version.

References

- CVE-2025-13465 / GHSA-xxjr-mmjv-4gpg (original fix that this bypasses)

— OSV

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:

— IBM

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.

— MITRE

Affected Software

35 affected componentsFixes available
npm/lodash<=4.17.23
npm/lodash.unset>=4.0.0<4.18.0
4.18.0
npm/lodash-amd<=4.17.23
4.18.0
npm/lodash-es<=4.17.23
4.18.0
npm/lodash<=4.17.23
4.18.0
ubuntu/node-lodash<2.4.1+dfsg-3ubuntu0.1~esm1
2.4.1+dfsg-3ubuntu0.1~esm1
ubuntu/node-lodash<4.17.4+dfsg-1ubuntu0.1~esm1
4.17.4+dfsg-1ubuntu0.1~esm1
ubuntu/node-lodash<4.17.15+dfsg-2ubuntu0.1~esm1
4.17.15+dfsg-2ubuntu0.1~esm1
ubuntu/node-lodash<4.17.21+dfsg+~cs8.31.198.20210220-5ubuntu0.1~esm1
4.17.21+dfsg+~cs8.31.198.20210220-5ubuntu0.1~esm1
ubuntu/node-lodash<4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.24.04.1~esm1
4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.24.04.1~esm1
ubuntu/node-lodash<4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.25.10.1
4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.25.10.1
ubuntu/node-lodash*
ubuntu/node-lodash<4.17.23+dfsg-1ubuntu0.1~esm1
4.17.23+dfsg-1ubuntu0.1~esm1
Lodash Lodash Node.js>=4.0.0<4.17.23
Lodash Lodash-amd Node.js>=4.0.0<4.17.23
Lodash Lodash-es Node.js>=4.0.0<4.17.23
Lodash Lodash.unset Node.js>=4.0.0
npm/lodash>=4.17.23<4.18.1
4.18.1
npm/lodash-es>=4.17.23<4.18.1
4.18.1
npm/lodash-amd>=4.17.23<4.18.1
4.18.1
npm/lodash.unset<4.18.0
4.18.0
npm/lodash.omit<4.18.0
4.18.0
IBM SevOne Network Performance Management<=7.0.0 - 8.2.2
Lodash Lodash Node.js>=4.17.23<4.18.1
Lodash Lodash-amd Node.js>=4.17.23<4.18.1
Lodash Lodash-es Node.js>=4.17.23<4.18.1
Lodash Lodash.omit Node.js<4.18.0
Lodash Lodash.unset Node.js<4.18.0
debian/node-lodash<4.17.21+dfsg+~cs8.31.198.20210220-9+deb12u1
4.17.21+dfsg+~cs8.31.198.20210220-9+deb12u1
debian/node-lodash<4.17.21+dfsg+~cs8.31.198.20210220-9+deb13u1
4.17.21+dfsg+~cs8.31.198.20210220-9+deb13u1
debian/node-lodash<4.18.1+dfsg-1
4.18.1+dfsg-1
npm/lodash-amd=4.17.23
4.18.1
npm/lodash-es=4.17.23
4.18.1
npm/lodash=4.17.23
4.18.1
debian/node-lodash<=4.17.21+dfsg+~cs8.31.198.20210220-9
4.17.21+dfsg+~cs8.31.173-1+deb11u14.17.21+dfsg+~cs8.31.198.20210220-9+deb12u14.17.21+dfsg+~cs8.31.198.20210220-9+deb13u14.18.1+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/lodash.unset to a version that resolves this vulnerability.

    Fixed in 4.18.0
  2. Upgrade

    Upgrade npm/lodash-amd to a version that resolves this vulnerability.

    Fixed in 4.18.0
  3. Upgrade

    Upgrade npm/lodash-es to a version that resolves this vulnerability.

    Fixed in 4.18.0
  4. Upgrade

    Upgrade npm/lodash to a version that resolves this vulnerability.

    Fixed in 4.18.0
  5. Upgrade

    Upgrade ubuntu/node-lodash to a version that resolves this vulnerability.

    Fixed in 2.4.1+dfsg-3ubuntu0.1~esm1
  6. Upgrade

    Upgrade ubuntu/node-lodash to a version that resolves this vulnerability.

    Fixed in 4.17.4+dfsg-1ubuntu0.1~esm1
  7. Upgrade

    Upgrade ubuntu/node-lodash to a version that resolves this vulnerability.

    Fixed in 4.17.15+dfsg-2ubuntu0.1~esm1
  8. Upgrade

    Upgrade ubuntu/node-lodash to a version that resolves this vulnerability.

    Fixed in 4.17.21+dfsg+~cs8.31.198.20210220-5ubuntu0.1~esm1
  9. Upgrade

    Upgrade ubuntu/node-lodash to a version that resolves this vulnerability.

    Fixed in 4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.24.04.1~esm1
  10. Upgrade

    Upgrade ubuntu/node-lodash to a version that resolves this vulnerability.

    Fixed in 4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.25.10.1
  11. Upgrade

    Upgrade ubuntu/node-lodash to a version that resolves this vulnerability.

    Fixed in 4.17.23+dfsg-1ubuntu0.1~esm1
  12. Upgrade

    Upgrade npm/lodash to a version that resolves this vulnerability.

    Fixed in 4.18.1
  13. Upgrade

    Upgrade npm/lodash-es to a version that resolves this vulnerability.

    Fixed in 4.18.1
  14. Upgrade

    Upgrade npm/lodash-amd to a version that resolves this vulnerability.

    Fixed in 4.18.1
  15. Upgrade

    Upgrade npm/lodash.omit to a version that resolves this vulnerability.

    Fixed in 4.18.0
  16. Upgrade

    Upgrade debian/node-lodash to a version that resolves this vulnerability.

    Fixed in 4.17.21+dfsg+~cs8.31.198.20210220-9+deb12u1
  17. Upgrade

    Upgrade debian/node-lodash to a version that resolves this vulnerability.

    Fixed in 4.17.21+dfsg+~cs8.31.198.20210220-9+deb13u1
  18. Upgrade

    Upgrade debian/node-lodash to a version that resolves this vulnerability.

    Fixed in 4.18.1+dfsg-1
  19. Upgrade

    Upgrade debian/node-lodash to a version that resolves this vulnerability.

    Fixed in 4.17.21+dfsg+~cs8.31.173-1+deb11u1Fixed in 4.17.21+dfsg+~cs8.31.198.20210220-9+deb12u1Fixed in 4.17.21+dfsg+~cs8.31.198.20210220-9+deb13u1Fixed in 4.18.1+dfsg-1

Event History

Mar 31, 2026
CVE Published
via MITRE·07:18 PM
Data Sourced
via MITRE·07:18 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Apr 1, 2026
Advisory Published
via GitHub·11:50 PM
Data Sourced
via GitHub·11:50 PM
DescriptionSeverityWeaknessAffected Software
Apr 7, 2026
Data Sourced
via NVD·04:12 PM
Affected Software
Updated
via NVD·04:12 PM
Severity
May 15, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jun 19, 2026
Updated
via IBM·12:00 AM
Affected Software
Jun 24, 2026
Updated
via IBM·12:00 AM
Affected Software
Jul 7, 2026
Updated
via IBM·12:00 AM
Affected Software
Jul 13, 2026
Updated
via IBM·12:00 AM
Affected Software
Jul 14, 2026
Updated
via IBM·12:00 AM
Affected Software
Aug 20, 2026
Updated
via IBM·12:00 AM
Affected Software
Aug 27, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 11, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 17, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 22, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 26, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 15, 2026
Updated
via MITRE·06:44 AM
Description
Updated
via NVD·07:18 AM
Description
Oct 28, 2026
Data Sourced
via OSV·08:17 PM
Affected Software
Nov 3, 2026
Updated
via GitHub·03:37 PM
DescriptionAffected Software
Nov 13, 2026
Updated
via NVD·07:15 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-2950?

CVE-2026-2950 is classified as a high-severity vulnerability due to its potential for prototype pollution.

2

How do I fix CVE-2026-2950?

To fix CVE-2026-2950, upgrade lodash to version 4.17.24 or later.

3

Which versions of lodash are affected by CVE-2026-2950?

Lodash versions 4.17.23 and earlier are affected by CVE-2026-2950.

4

What functions in lodash are vulnerable in CVE-2026-2950?

The vulnerable functions in lodash affected by CVE-2026-2950 are _.unset and _.omit.

5

What is prototype pollution in the context of CVE-2026-2950?

In the context of CVE-2026-2950, prototype pollution refers to the ability of an attacker to manipulate an object's prototype, potentially leading to application compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203