# CVE-2026-26021: Prototype pollution in set-in

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-11T15:13:28.000Z
- Modified: 2026-06-17T10:25:36.833Z
- Also known as: GHSA-2c4m-g7rx-63q7
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ahdinosaur set-in: >= 2.0.1, < 2.0.5
- set-in (npm): from 2.0.1 before 2.0.5
- set-in_project set-in: from 2.0.1 before 2.0.5

## Every score

- GitHub_M: CVSS:4.0 9.4 Critical `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ahdinosaur/set-in/security/advisories/GHSA-2c4m-g7rx-63q7> (exploit, vendor-advisory, web)
- <https://github.com/ahdinosaur/set-in/commit/b8e1dabfdbd35c8d604b6324e01d03f280256c3d> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26021> (advisory)
- <https://github.com/ahdinosaur/set-in/pull/6> (web)
- <https://github.com/ahdinosaur/set-in/commit/34842cc02de3fd65d6f8bd0b268347e7b390125b> (web)
- <https://github.com/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24> (web)
- <https://github.com/ahdinosaur/set-in/commit/d87c1a09fa2edb55cd76440a67d83d1cb828df11> (web)
- <https://github.com/ahdinosaur/set-in> (package)

## Sources

- CVE List: [CVE-2026-26021](https://www.cve.org/CVERecord?id=CVE-2026-26021), CVE Terms of Use, modified 2026-02-12
- GitHub Advisory Database: [GHSA-2c4m-g7rx-63q7](https://github.com/advisories/GHSA-2c4m-g7rx-63q7), CC-BY-4.0, modified 2026-02-22
- NVD: [CVE-2026-26021](https://nvd.nist.gov/vuln/detail/CVE-2026-26021), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26021 · Whole record: https://cve.day/CVE-2026-26021.json · Rebuilt by cve.day 2026-11-25T22:59:13.787Z
