# CVE-2026-2950: lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`

- Severity: Medium 6.5 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-03-31T19:18:35.796Z
- Modified: 2026-11-13T19:15:14.280Z
- Also known as: GHSA-f23m-r3pf-42rh
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openjs

## Description

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.

(As written by CVE List.)

## Affected

- lodash lodash: from 4.17.23 before 4.18.1 (not affected: 4.18.1)
- lodash lodash-es: from 4.17.23 before 4.18.1 (not affected: 4.18.1)
- lodash lodash-amd: from 4.17.23 before 4.18.1 (not affected: 4.18.1)
- lodash lodash.unset: before 4.18.0 (not affected: 4.18.0)
- lodash lodash.omit: before 4.18.0 (not affected: 4.18.0)
- lodash (npm): from 4.17.23 before 4.18.1
- lodash-es (npm): from 4.17.23 before 4.18.1
- lodash-amd (npm): from 4.17.23 before 4.18.1
- lodash.unset (npm): before 4.18.0
- lodash.omit (npm): before 4.18.0

## Every score

- openjs: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh> (vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (vendor-advisory, 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/commit/4f0e376589e1889e8993e212a5c9041112ad178e> (web)
- <https://github.com/lodash/lodash/commit/87e6676934f7b4450fad68c35f0325ba165b48f8> (web)
- <https://github.com/lodash/lodash/commit/bbcf0036d27ef936f175bf26e73e247994d8e1e4> (web)
- <https://github.com/lodash/lodash/commit/db27b6bb14b12a1451b20edf87dfe307b87a337d> (web)
- <https://github.com/lodash/lodash/commit/fe8d32eda854377349a4f922ab7655c8e5df9a0b> (web)
- <https://github.com/lodash/lodash> (package)
- <https://github.com/lodash/lodash/releases/tag/4.18.1> (web)

## Sources

- CVE List: [CVE-2026-2950](https://www.cve.org/CVERecord?id=CVE-2026-2950), CVE Terms of Use, modified 2026-10-15
- GitHub Advisory Database: [GHSA-f23m-r3pf-42rh](https://github.com/advisories/GHSA-f23m-r3pf-42rh), CC-BY-4.0, modified 2026-11-03
- NVD: [CVE-2026-2950](https://nvd.nist.gov/vuln/detail/CVE-2026-2950), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-2950 · Whole record: https://cve.day/CVE-2026-2950.json · Rebuilt by cve.day 2026-11-25T22:59:17.618Z
