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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/ahdinosaur/set-in/security/advisories/GHSA-2c4m-g7rx-63q7 exploit vendor-advisory
- https://github.com/ahdinosaur/set-in/commit/b8e1dabfdbd35c8d604b6324e01d03f280256c3d patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product