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.
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Lodash | Lodash | 4.0.0 (including) | 4.17.23 (excluding) |
| Lodash-amd | Lodash | 4.0.0 (including) | 4.17.23 (excluding) |
| Lodash-es | Lodash | 4.0.0 (including) | 4.17.23 (excluding) |
| Lodash.unset | Lodash | 4.0.0 (including) | * |
| Red Hat Enterprise Linux 10 | RedHat | cockpit-0:356.1-1.el10_2 | * |
| Red Hat Enterprise Linux 9 | RedHat | cockpit-0:356.1-1.el9_8 | * |
| Red Hat Enterprise Linux 9 | RedHat | cockpit-0:356.1-1.el9_8 | * |
| Red Hat Developer Hub 1.10 | RedHat | rhdh/rhdh-hub-rhel9:1780930740 | * |
| Red Hat Hardened Images | RedHat | nodejs25-main-11.12.1-1.25.9.0.1.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs25-main-25.9.0-1.1.hum1 | * |
| Red Hat Hardened Images | RedHat | yarnpkg-main-1.22.22-18.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs20-main-10.8.2-1.20.20.2.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs20-main-20.20.2-1.hum1 | * |
| Node-lodash | Ubuntu | esm-apps-legacy/xenial | * |
| Node-lodash | Ubuntu | esm-apps/bionic | * |
| Node-lodash | Ubuntu | esm-apps/focal | * |
| Node-lodash | Ubuntu | esm-apps/jammy | * |
| Node-lodash | Ubuntu | esm-apps/noble | * |
| Node-lodash | Ubuntu | esm-apps/resolute | * |
| Node-lodash | Ubuntu | esm-apps/xenial | * |
| Node-lodash | Ubuntu | jammy | * |
| Node-lodash | Ubuntu | noble | * |
| Node-lodash | Ubuntu | questing | * |
| Node-lodash | Ubuntu | resolute | * |
| Node-lodash | Ubuntu | upstream | * |