Home

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.

PUBLISHED Reserved 2026-02-09 | Published 2026-02-11 | Updated 2026-02-12 | Assigner GitHub_M




CRITICAL: 9.4CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Problem types

CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Product status

>= 2.0.1, < 2.0.5
affected

References

github.com/...set-in/security/advisories/GHSA-2c4m-g7rx-63q7

github.com/...ommit/b8e1dabfdbd35c8d604b6324e01d03f280256c3d

cve.org (CVE-2026-26021)

nvd.nist.gov (CVE-2026-26021)

Download JSON