Prototype Pollution
CVE-2026-33863
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLoad malicious JSON config file
-
ExploitTrigger overlay() recursive merge
-
ExecutionPollute Object.prototype via __proto__
-
ImpactInject arbitrary properties into all objects
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A03:2021 - Injection
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Application must call convict's config.load(), config.loadFile(), or convict() with untrusted JSON/schema input containing __proto__ or constructor.prototype keys. No authentication required; attacker controls config file or schema data passed to vulnerable functions. |
| Impact | Real-world risk depends heavily on application-specific factors beyond the library vulnerability itself. No CVSS score or attack vector metrics were provided in the intelligence data, and no EPSS probability or CISA KEV status indicates no confirmed active exploitation. However, prototype pollution vulnerabilities carry inherently high risk when configuration sources accept untrusted input, as polluted properties can propagate to authentication checks, command execution contexts, or security boundary validations. The stated impacts of authentication bypass and RCE represent worst-case scenarios requiring specific downstream consumption patterns. Mitigation complexity is low (input validation), but many Node.js applications using convict may process external configuration files or environment variables without realizing the security implications. The existence of a prior incomplete fix (GHSA-44fc-8fm5-q62h) and related issue #423 suggests this is a persistent vulnerability pattern requiring architectural changes rather than simple input filtering. Priority should be elevated for applications that load configuration from user-controllable sources, but may be lower for applications with strictly controlled configuration inputs. |
| Exploit ScenarioDerived | An attacker crafts a malicious JSON configuration file containing keys like constructor.prototype.isAdmin set to true, then delivers it to an application using node-convict through a configuration upload feature, file inclusion vulnerability, or compromised configuration repository. When the application calls config.loadFile() on the malicious file, the overlay() function recursively merges the data without filtering forbidden keys, causing the isAdmin property to be written directly to Object.prototype. Subsequently, when the application checks user privileges using code like if (user.isAdmin) without explicitly defining isAdmin, the polluted prototype causes all user objects to inherit isAdmin=true, bypassing authentication and authorization controls to grant administrative access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
Prototype pollution in Mozilla's node-convict configuration library allows attackers to inject properties into Object.prototype via two unguarded code paths: config.load()/loadFile() methods that fail to filter forbidden keys during recursive merge operations, and schema initialization accepting constructor.prototype.* keys during default-value propagation. Applications using node-convict (pkg:npm/convict) that process untrusted configuration data face impacts ranging from authentication bypass to remote code execution depending on how polluted properties propagate through the application. This represents an incomplete fix for prior prototype pollution issues (GHSA-44fc-8fm5-q62h), with no public exploit identified at time of analysis.
RemediationAI
Upgrade to the patched version of node-convict specified in the vendor security advisory at https://github.com/mozilla/node-convict/security/advisories/GHSA-hf2r-9gf9-rwch (exact version number not provided in available intelligence data). As an interim workaround until patching is completed, implement strict input validation to reject configuration data from untrusted sources passed to load(), loadFile(), or convict() constructor methods. Specifically, sanitize or reject any configuration objects containing __proto__, constructor, or prototype keys before processing. Review application architecture to ensure configuration loading occurs only from trusted, controlled sources rather than user-supplied files or external APIs. For defense-in-depth, consider using Object.freeze(Object.prototype) at application startup to prevent prototype modifications, though this may break legitimate application functionality and should be tested thoroughly. Consult the prior advisory GHSA-44fc-8fm5-q62h at https://github.com/mozilla/node-convict/security/advisories/GHSA-44fc-8fm5-q62h for additional context on related prototype pollution patterns in this library.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability affects Mozilla's node-convict library (CPE: pkg:npm/convict), a configuration management module for Node.js applications that validates and loads configuration from various sources including JSON files and environment variables. The root cause is CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes, commonly known as prototype pollution), where the overlay() function recursively merges configuration objects without sanitizing keys like __proto__ or constructor.prototype. JavaScript's prototype chain allows modifications to Object.prototype to propagate globally, enabling attackers to inject properties that affect all objects. The vulnerability bypasses earlier security patches documented in GHSA-44fc-8fm5-q62h, exposing two distinct attack vectors: runtime configuration loading via load()/loadFile() methods and schema initialization during convict() constructor invocation.
Know when Prototype Pollution gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Lifecycle Timeline
2DescriptionCVE.org
Impact
Two unguarded prototype pollution paths exist, not covered by previous fixes:
config.load()/config.loadFile()-overlay()recursively merges config data without checking for forbidden keys. Input containing__proto__orconstructor.prototype(e.g. from a JSON file) causes the recursion to reachObject.prototypeand write attacker-controlled values onto it.- Schema initialization - passing a schema with
constructor.prototype.*keys toconvict({...})causes default-value propagation to write directly toObject.prototypeat startup.
Depending on how polluted properties are consumed, impact ranges from unexpected behavior to authentication bypass or RCE.
Workarounds
Do not pass untrusted data to load(), loadFile(), or convict().
Resources
Prior advisory: GHSA-44fc-8fm5-q62h Related issue: https://github.com/mozilla/node-convict/issues/423
Blast Radius
ecosystem impact- 1,011 npm packages depend on convict (223 direct, 793 indirect)
Ecosystem-wide dependent count for version 6.2.5.
Executive ViewAI
Mozilla's node-convict configuration library contains a prototype pollution vulnerability that allows remote attackers to inject malicious properties into core application objects through untrusted configuration files. Organizations using this library to parse external or user-supplied configuration data face potential authentication bypass and remote code execution risks, with no patch currently available from the vendor.
Implement strict schema whitelisting before passing data to convict.load()/loadFile()-explicitly validate and reject any configuration objects containing 'constructor', 'prototype', or '__proto__' keys; restrict configuration file sources to trusted, signed, or read-only locations; isolate applications using convict with network segmentation to limit lateral movement if code execution occurs; implement application-level monitoring to detect unexpected property injection on Object.prototype; disable dynamic schema updates from external sources until patched.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
CVE.org
EPSS
GitHub
Exploit-DB