CVE-2026-26021 json
Prototype pollution in set-in
published 8mo ago modified 4mo ago also EUVD-2026-6208 , GHSA-2c4m-g7rx-63q7
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
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.
Patch / fix
- npm set-in 2.0.5
- set-in_project set-in 2.0.5
- github.com/ahdinosaur/set-in@b8e1dab commit
- github.com/ahdinosaur/set-in@34842cc commit
- github.com/ahdinosaur/set-in@6bad255 commit
- github.com/ahdinosaur/set-in@d87c1a0 commit
- github.com/ahdinosaur/set-in#6 pull request
Is CVE-2026-26021 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 8mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/ahdinosaur/set-in/security/advisories/GHSA-2c4m-g7rx-63q7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.4 | 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 |
| CNA | 4.0 | 9.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | set-in | >=2.0.1, <2.0.5 |
2.0.5 |
Affected products
- ahdinosaur set-in
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/ahdinosaur/set-in/commit/b8e1dabfdbd35c8d604b6324e01d03f280256c3d
web, patch
-
github.com
/ahdinosaur/set-in/pull/6
web
-
github.com
/ahdinosaur/set-in/commit/34842cc02de3fd65d6f8bd0b268347e7b390125b
web
-
github.com
/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24
web
-
github.com
/ahdinosaur/set-in/commit/d87c1a09fa2edb55cd76440a67d83d1cb828df11
web
-
github.com
/ahdinosaur/set-in/security/advisories/GHSA-2c4m-g7rx-63q7
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-26021
advisory
-
github.com
/ahdinosaur/set-in
package
Sources
- CVE List CVE-2026-26021
- GitHub Advisory GHSA-2c4m-g7rx-63q7
- NVD CVE-2026-26021
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.