CVE-2026-26021: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in ahdinosaur set-in
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.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-26021 affects the 'set-in' npm package, specifically versions from 2.0.1 up to but not including 2.0.5. 'set-in' is a utility that sets values in nested associative data structures based on an array of keys. The flaw is a prototype pollution vulnerability categorized under CWE-1321, which involves improper control over modifications to object prototype attributes. Despite a prior fix that attempted to block user inputs containing forbidden keys to prevent pollution, attackers can still exploit the vulnerability by crafting inputs that leverage Array.prototype. This bypass allows an attacker to inject or modify properties on Object.prototype, potentially altering the behavior of all objects in the JavaScript environment. Such pollution can lead to arbitrary code execution, denial of service, or data corruption. The vulnerability has a CVSS 4.0 base score of 9.4, indicating critical severity, with a local attack vector and no required privileges or user interaction. The fix was implemented in version 2.0.5, which properly addresses the prototype pollution vector. No public exploits have been reported yet, but the risk remains high due to the critical nature of the vulnerability and the common usage of the package in Node.js applications.
Potential Impact
The impact of this vulnerability is substantial for organizations using the 'set-in' package in their software stacks. Prototype pollution can lead to widespread application instability, unauthorized code execution, and data integrity issues. Attackers can manipulate the global object prototype, affecting all objects and potentially bypassing security controls or causing application crashes. This can result in data breaches, service outages, and compromised systems. Since 'set-in' is a utility package often used in web applications and backend services, exploitation could affect a broad range of environments, including cloud services, enterprise applications, and developer tools. The lack of required authentication and user interaction lowers the barrier for exploitation, increasing the risk. Organizations that do not promptly patch may face increased exposure to targeted attacks or automated exploit attempts once public exploits emerge.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately upgrade the 'set-in' package to version 2.0.5 or later, where the prototype pollution issue is fixed. Additionally, developers should audit their dependency trees to identify any indirect usage of vulnerable versions and update those accordingly. Implementing strict input validation and sanitization can reduce the risk of malicious payloads reaching vulnerable code paths. Employing runtime protections such as JavaScript sandboxing or integrity checks can help detect or prevent prototype pollution attacks. Monitoring application logs and behavior for anomalies related to object prototype modifications can provide early detection of exploitation attempts. Finally, integrating automated dependency scanning tools into the CI/CD pipeline will help catch vulnerable packages before deployment.
Affected Countries
United States, India, Germany, United Kingdom, China, Canada, Australia, France, Japan, Netherlands, Brazil, South Korea
CVE-2026-26021: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in ahdinosaur set-in
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-26021 affects the 'set-in' npm package, specifically versions from 2.0.1 up to but not including 2.0.5. 'set-in' is a utility that sets values in nested associative data structures based on an array of keys. The flaw is a prototype pollution vulnerability categorized under CWE-1321, which involves improper control over modifications to object prototype attributes. Despite a prior fix that attempted to block user inputs containing forbidden keys to prevent pollution, attackers can still exploit the vulnerability by crafting inputs that leverage Array.prototype. This bypass allows an attacker to inject or modify properties on Object.prototype, potentially altering the behavior of all objects in the JavaScript environment. Such pollution can lead to arbitrary code execution, denial of service, or data corruption. The vulnerability has a CVSS 4.0 base score of 9.4, indicating critical severity, with a local attack vector and no required privileges or user interaction. The fix was implemented in version 2.0.5, which properly addresses the prototype pollution vector. No public exploits have been reported yet, but the risk remains high due to the critical nature of the vulnerability and the common usage of the package in Node.js applications.
Potential Impact
The impact of this vulnerability is substantial for organizations using the 'set-in' package in their software stacks. Prototype pollution can lead to widespread application instability, unauthorized code execution, and data integrity issues. Attackers can manipulate the global object prototype, affecting all objects and potentially bypassing security controls or causing application crashes. This can result in data breaches, service outages, and compromised systems. Since 'set-in' is a utility package often used in web applications and backend services, exploitation could affect a broad range of environments, including cloud services, enterprise applications, and developer tools. The lack of required authentication and user interaction lowers the barrier for exploitation, increasing the risk. Organizations that do not promptly patch may face increased exposure to targeted attacks or automated exploit attempts once public exploits emerge.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately upgrade the 'set-in' package to version 2.0.5 or later, where the prototype pollution issue is fixed. Additionally, developers should audit their dependency trees to identify any indirect usage of vulnerable versions and update those accordingly. Implementing strict input validation and sanitization can reduce the risk of malicious payloads reaching vulnerable code paths. Employing runtime protections such as JavaScript sandboxing or integrity checks can help detect or prevent prototype pollution attacks. Monitoring application logs and behavior for anomalies related to object prototype modifications can provide early detection of exploitation attempts. Finally, integrating automated dependency scanning tools into the CI/CD pipeline will help catch vulnerable packages before deployment.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-09T21:36:29.554Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 698cf5244b57a58fa1cd8252
Added to database: 2/11/2026, 9:31:16 PM
Last enriched: 2/19/2026, 1:57:59 PM
Last updated: 3/29/2026, 1:40:00 AM
Views: 891
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.