REDHAT-BUG-2453499: Medium severity npm/lodash vulnerability

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

Affected Software

1 affected component
npm/lodash<=4.17.23

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade lodash to a version that resolves this vulnerability.

    Fixed in 4.18.0

Event History

Mar 31, 2026
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What input must an attacker control to exploit this issue?

An attacker needs to be able to supply path segments to Lodash's _.unset or _.omit functions. The bypass uses array-wrapped path segments rather than string key members.

2

What is the practical impact of successful exploitation?

An attacker can delete properties from built-in prototypes, including Object.prototype, Number.prototype, and String.prototype. The issue permits property deletion but does not allow overwriting the original behavior of prototype properties.

3

Which Lodash versions are affected, and what version fixes the issue?

Lodash 4.17.23 and earlier are affected. The issue is patched in Lodash 4.18.0.

4

Is there a workaround if upgrading is not immediately possible?

No workaround is provided. Upgrade to the patched version.

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