Prototype Pollution
CVE-2026-33864
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious config with __proto__ property
-
ExploitBypass startsWith() filter via String.prototype
-
ExecutionPollute Object.prototype
-
ImpactInject malicious 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 | Remote unauthenticated attacker can exploit convict npm package version 6.2.4 by providing crafted configuration input containing String.prototype keys to pollute Object.prototype. No authentication, special configuration, or user interaction required. Affects any Node.js application using convict 6.2.4 for configuration management with untrusted input sources. |
| Impact | This represents a high real-world risk despite the absence of CVSS scoring. A publicly available exploit code exists demonstrating the bypass technique, significantly lowering the exploitation barrier. The vulnerability requires applications to process attacker-controlled input through convict.set(), which is common in web applications using convict for configuration management. Authentication requirements cannot be confirmed from available data as no CVSS vector is provided, but the attack likely depends on application-specific input validation. The technical impact is severe: prototype pollution can escalate to remote code execution when polluted properties flow into sensitive sinks, authentication bypass through object property manipulation, or denial of service. The fact this bypasses a previous security fix indicates sophisticated understanding by attackers and potential for exploitation in production environments that rely on the earlier mitigation. |
| Exploit ScenarioDerived | An attacker supplies malicious configuration data to a web application using convict for settings management. By first injecting code that overrides String.prototype.startsWith (potentially through another injection vector or if the application evaluates user code), the attacker then calls convict.set('constructor.prototype.isAdmin', 'true') which bypasses the forbidden key check. This pollutes Object.prototype, causing all subsequently created objects to inherit isAdmin=true, potentially bypassing authentication checks throughout the application. If the polluted property reaches eval() or child_process functions, the attacker achieves remote code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
Prototype pollution in convict npm package version 6.2.4 allows attackers to bypass previous security fixes and pollute Object.prototype through crafted input that manipulates String.prototype.startsWith. The vulnerability affects applications processing untrusted input via convict.set() and can lead to authentication bypass, denial of service, or remote code execution if polluted properties reach dangerous sinks like eval or child_process. A working proof-of-concept exploit demonstrating the bypass technique exists in the advisory.
RemediationAI
No vendor-released patch version is identified at the time of analysis based on the available data indicating version 6.2.4 remains the latest affected release. Monitor the Mozilla node-convict GitHub repository at github.com/mozilla/node-convict and the GitHub Security Advisory GHSA-44fc-8fm5-q62h for patch announcements. Until a fixed version is released, implement defensive controls: validate and sanitize all user input before passing to convict.set(), implement Object.freeze(Object.prototype) immediately after application initialization to prevent prototype modifications, use object creation without prototype inheritance via Object.create(null) for sensitive data structures, and restrict the ability for untrusted users to control configuration keys. Consider replacing convict with alternative configuration libraries that implement stronger prototype pollution protections if immediate remediation is required.
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
Convict is a Mozilla-maintained configuration management library for Node.js applications (pkg:npm/convict). The vulnerability is classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes, or Prototype Pollution), a critical weakness in JavaScript where attackers modify Object.prototype to inject properties into all objects. The flaw exists in line 564 of main.js where the startsWith() function checks user input for forbidden keys like 'constructor' or 'prototype'. By overriding String.prototype.startsWith to always return false, attackers can bypass the validation logic that was implemented to fix previous prototype pollution issues. This allows injection of properties like 'constructor.prototype.polluted' which propagate to all JavaScript objects in the application runtime.
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
Summary
A prototype pollution vulnerability exists in the latest version of the convict npm package (6.2.4). Despite a previous fix that attempted to mitigate prototype pollution by checking whether user input started with a forbidden key, it is still possible to pollute Object.prototype via a crafted input using String.prototype.
Details
The vulnerability resides in line 564 of https://github.com/mozilla/node-convict/blob/master/packages/convict/src/main.js where startsWith() function is used to check whether user provided input contain forbidden strings.
PoC
Steps to reproduce
- Install latest version of convict using
npm installor cloning from git - Run the following code snippet:
String.prototype.startsWith = () => false;
const convict = require('convict');
let obj = {};
const config = convict(obj);
console.log({}.polluted);
config.set('constructor.prototype.polluted', 'yes');
console.log({}.polluted); // prints yes -> the patch is bypassed and prototype pollution occurredExpected behavior
Prototype pollution should be prevented and {} should not gain new properties. This should be printed on the console:
undefined
undefined OR throw an ErrorActual behavior
Object.prototype is polluted This is printed on the console:
undefined
yesImpact
This is a prototype pollution vulnerability, which can have severe security implications depending on how convict is used by downstream applications. Any application that processes attacker-controlled input using convict.set may be affected. It could potentially lead to the following problems:
- Authentication bypass
- Denial of service
- Remote code execution (if polluted property is passed to sinks like eval or child_process)
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
The convict npm package (version 6.2.4) contains a critical prototype pollution vulnerability that allows attackers to bypass existing security controls and manipulate core JavaScript object behavior through specially crafted input. Organizations using convict to process untrusted configuration data face immediate risk of authentication bypass, service disruption, or code execution, with no vendor patch currently available to remediate the flaw.
Input validation: Implement strict schema validation and allowlist for configuration inputs before passing to convict.set(); disable or restrict convict.set() from processing untrusted external sources if possible. Network segmentation: Isolate services using convict from direct exposure to untrusted input sources. Feature restriction: If convict is used only for static configuration at startup, disable dynamic runtime configuration updates. Code-level mitigation: Audit downstream usage of polluted properties and avoid passing configuration values to dangerous sinks (eval, Function constructor, child_process.exec with unsanitized arguments). Consider temporary patching of Object.prototype.startsWith in affected application runtime as a defensive measure until vendor patch is released.
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
Priority Score
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.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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