GHSA-f23m-r3pf-42rh
lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-2950
- CVSS_V3
- 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.
Paquets affectés
| Paquet | Versions |
|---|---|
| npm · lodash | introduced 0, fixed 4.18.0 |
| npm · lodash-es | introduced 0, fixed 4.18.0 |
| npm · lodash-amd | introduced 0, fixed 4.18.0 |
| npm · lodash.unset | introduced 4.0.0, fixed 4.18.0 |
Références
- https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh WEB
- https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-2950 ADVISORY
- https://github.com/lodash/lodash PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |