{"id":"CVE-2026-2950","published":"2026-03-31T19:18:35Z","modified":"2026-10-15T06:44:37Z","title":"lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`","vendor":"lodash","product":"lodash","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00346,"percentile":0.2888,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":5.78},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"lodash","affectedVersions":[{"vendor":"lodash","product":"lodash","versions":[">= 4.17.23, < 4.18.1"]},{"vendor":"lodash","product":"lodash-es","versions":[">= 4.17.23, < 4.18.1"]},{"vendor":"lodash","product":"lodash-amd","versions":[">= 4.17.23, < 4.18.1"]},{"vendor":"lodash","product":"lodash.unset","versions":["< 4.18.0"]},{"vendor":"lodash","product":"lodash.omit","versions":["< 4.18.0"]}],"fixedVersions":[{"vendor":"lodash","product":"lodash","versions":["4.18.1"]},{"vendor":"lodash","product":"lodash-es","versions":["4.18.1"]},{"vendor":"lodash","product":"lodash-amd","versions":["4.18.1"]},{"vendor":"lodash","product":"lodash.unset","versions":["4.18.0"]},{"vendor":"lodash","product":"lodash.omit","versions":["4.18.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-01T13:43:14.280375Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"lodash","vulnerableRanges":[">=4.17.23, <4.18.1"],"patched":["4.18.1"],"from":["GHSA-f23m-r3pf-42rh"],"provenance":"source"},{"ecosystem":"npm","package":"lodash-es","vulnerableRanges":[">=4.17.23, <4.18.1"],"patched":["4.18.1"],"from":["GHSA-f23m-r3pf-42rh"],"provenance":"source"},{"ecosystem":"npm","package":"lodash-amd","vulnerableRanges":[">=4.17.23, <4.18.1"],"patched":["4.18.1"],"from":["GHSA-f23m-r3pf-42rh"],"provenance":"source"},{"ecosystem":"npm","package":"lodash.unset","vulnerableRanges":["<4.18.0"],"patched":["4.18.0"],"from":["GHSA-f23m-r3pf-42rh"],"provenance":"source"},{"ecosystem":"npm","package":"lodash.omit","vulnerableRanges":["<4.18.0"],"patched":["4.18.0"],"from":["GHSA-f23m-r3pf-42rh"],"provenance":"source"}],"summary":{"text":"The lodash library's _.unset and _.omit functions contain a prototype pollution flaw: the fix for an earlier issue only checks string key segments, so array-wrapped path segments bypass it. An attacker who can supply path input to these functions over the network, with no authentication or user interaction required, can delete properties from built-in prototypes such as Object.prototype, Number.prototype, and String.prototype, though they cannot overwrite those prototypes' original behaviour.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:49Z"},"euvd":{"id":"EUVD-2026-17591","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-lodash-cve-2025-13465","parents":[{"from":"CVE-2025-13465","to":"CVE-2026-2950","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"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.","from":"CVE.org","in":"CVE-2026-2950"},{"kind":"osv-related","provenance":"source","id":"GHSA-f23m-r3pf-42rh","via":"reference","url":"https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg"},{"kind":"same-code","provenance":"machine","files":["lodash.js"],"commits":["https://github.com/lodash/lodash/commit/edadd452146f7e4bad4ea684e955708931d84d81","https://github.com/lodash/lodash/commit/4f0e376589e1889e8993e212a5c9041112ad178e","https://github.com/lodash/lodash/commit/87e6676934f7b4450fad68c35f0325ba165b48f8"],"basis":"shared file"},{"kind":"similar","provenance":"machine","score":0.85,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2021-23337","published":"2021-02-15","fixed":"4.17.21","kev":false},{"cve":"CVE-2025-13465","published":"2026-01-21","fixed":"4.17.23","kev":false},{"cve":"CVE-2026-4800","published":"2026-03-31","fixed":"4.18.0","kev":false,"link":{"from":"CVE-2026-4800","to":"CVE-2026-2950","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:lodash","fromFixed":"4.18.0","toFixed":"4.18.1","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:lodash-es","fromFixed":"4.18.0","toFixed":"4.18.1","daysApart":0},{"kind":"same-code","provenance":"machine","files":["lodash.js"],"commits":["https://github.com/lodash/lodash/commit/4f0e376589e1889e8993e212a5c9041112ad178e","https://github.com/lodash/lodash/commit/87e6676934f7b4450fad68c35f0325ba165b48f8","https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c"],"basis":"shared file"},{"kind":"similar","provenance":"machine","score":0.34,"basis":"same product + description similarity"}]}},{"cve":"CVE-2026-2950","published":"2026-03-31","fixed":"4.18.1","kev":false}],"package":"npm:lodash"}}