CVE-2026-2950: lodash vulnerable to prototype pollution via array-path bypass in `_.unset`, `_.omit`, and `_.pullAt
(updated )
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.
References
- cna.openjsf.org/security-advisories.html
- github.com/advisories/GHSA-f23m-r3pf-42rh
- github.com/lodash/lodash/commit/4f0e376589e1889e8993e212a5c9041112ad178e
- github.com/lodash/lodash/commit/87e6676934f7b4450fad68c35f0325ba165b48f8
- github.com/lodash/lodash/commit/bbcf0036d27ef936f175bf26e73e247994d8e1e4
- github.com/lodash/lodash/commit/db27b6bb14b12a1451b20edf87dfe307b87a337d
- github.com/lodash/lodash/commit/fe8d32eda854377349a4f922ab7655c8e5df9a0b
- github.com/lodash/lodash/releases/tag/4.18.1
- github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
- github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
- nvd.nist.gov/vuln/detail/CVE-2026-2950
Code Behaviors & Features
Detect and mitigate CVE-2026-2950 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →