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.
References
| Link | Resource |
|---|---|
| https://github.com/ahdinosaur/set-in/commit/b8e1dabfdbd35c8d604b6324e01d03f280256c3d | Patch |
| https://github.com/ahdinosaur/set-in/security/advisories/GHSA-2c4m-g7rx-63q7 | Exploit Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-02-11 22:15
Updated : 2026-02-13 21:43
NVD link : CVE-2026-26021
Mitre link : CVE-2026-26021
CVE.ORG link : CVE-2026-26021
JSON object : View
Products Affected
set-in_project
- set-in
CWE
CWE-1321
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
