Skip to content

CVE-2026-26021 Prototype pollution in set-in

CriticalCVSS 9.4 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

set-in provides the set value of nested associative structure given array of keys. A prototype pollution vulnerability exists in the the npm package set-in (>=2.0.1, < 2.0.5). Despite a previous fix that attempted to mitigate prototype pollution by checking whether user input contained a forbidden key, it is still possible to pollute Object.prototype via a crafted input using Array.prototype. This has been fixed in version 2.0.5.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm set-in(npm) >= 2.0.1, < 2.0.5 2.0.5 Fixed
set-in project set-in >= 2.0.1, < 2.0.5 2.0.5 Fixed
ahdinosaur set-in = >= 2.0.1, < 2.0.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ahdinosaur set-in = >= 2.0.1, < 2.0.5 No fix listed
npm set-in(npm) >= 2.0.1, < 2.0.5 2.0.5
set-in project set-in >= 2.0.1, < 2.0.5 2.0.5

References