Skip to main content
← All vulnerabilities
CVE-2026-26021GHSA-2C4M-G7RX-63Q7

Prototype pollution in set-in

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • ahdinosaur set-in

    From 2.0.1 · fixed in 2.0.5

  • set-innpm

    From 2.0.1 · fixed in 2.0.5

References 2

GitHub · ahdinosaur/set-in