Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-106550 Overview
Mozilla's node-convict configuration library (version 6.2.2 and later) contains a prototype pollution weakness that enables a Denial of Service condition. The flaw resides in config.set(), where incomplete filtering allows an attacker-controlled key to write arbitrary properties onto constructor.<key>. The internal walk() function resolves this chain to the global Object function, letting attackers overwrite core methods such as Object.assign. The result is a process-wide failure that persists until the Node.js process restarts. Exploitation requires an application endpoint that forwards attacker-controlled keys into config.set().
Critical Impact
Attackers can overwrite built-in JavaScript methods on the global Object constructor, causing persistent process-wide failures that require a service restart to recover.
Affected Products
- Mozilla node-convict version 6.2.2
- Mozilla node-convict versions later than 6.2.2
- Node.js applications exposing config.set() to untrusted input
Discovery Timeline
- 2026-10-06 - CVE-2026-106550 published to NVD
- 2026-10-07 - Last updated in NVD database
Technical Details for CVE-2026-106550
Vulnerability Analysis
The vulnerability is a prototype pollution flaw [CWE-1321] in the config.set() method of node-convict. Existing filters block key paths matching constructor.prototype.* and __proto__.*, but they do not block the constructor.<key> pattern directly. When walk() traverses a key such as constructor.assign, it resolves constructor to the global Object function and then assigns to a property on Object itself.
Because Object.assign, Object.keys, and similar methods are referenced throughout Node.js runtime code, overwriting them corrupts the global execution environment. The affected process cannot recover without a restart, producing a Denial of Service condition across the entire application.
Root Cause
The root cause is an incomplete deny-list in the prototype pollution protection logic. The filter guards prototype and __proto__ segments but treats constructor as a valid intermediate key. Combined with the recursive property traversal in walk(), this gap allows writes to any property of the global Object constructor.
Attack Vector
Exploitation requires an application endpoint that passes attacker-controlled strings as the key argument to config.set(). A typical pattern is an administrative API or configuration import route that accepts JSON payloads and forwards keys without validation. The attacker submits a key such as constructor.assign with a non-function value, which replaces Object.assign globally and breaks any downstream code that depends on it.
No authentication requirements are specified in the advisory, and exploitation complexity depends on how the host application exposes config.set(). Refer to the GitHub Node-Convict Repository for implementation details.
Detection Methods for CVE-2026-106550
Indicators of Compromise
- Repeated application crashes or unhandled TypeError exceptions referencing Object.assign is not a function or similar built-in method failures.
- HTTP requests containing JSON payloads with keys matching the pattern constructor.<property> sent to configuration endpoints.
- Node.js process restarts correlated with configuration update requests from untrusted clients.
Detection Strategies
- Inspect dependency manifests (package.json, package-lock.json) for convict versions at or above 6.2.2.
- Audit application source code for routes or handlers that pass user-supplied keys directly into config.set() without allow-listing.
- Add runtime assertions that verify Object.assign === globalThis.Object.assign after configuration updates to detect tampering.
Monitoring Recommendations
- Log all calls to config.set() with the resolved key path and source identity for forensic review.
- Alert on web application firewall matches for request bodies containing the substring constructor. within JSON key fields.
- Track Node.js process uptime and correlate unexpected restarts with inbound configuration API traffic.
How to Mitigate CVE-2026-106550
Immediate Actions Required
- Identify all services that embed node-convict and expose config.set() to network-reachable input.
- Restrict configuration update endpoints to authenticated administrative users and apply strict input allow-listing for key names.
- Reject any configuration key containing the substring constructor, prototype, or __proto__ at the application boundary.
Patch Information
No fixed version is listed in the published advisory. Monitor the GitHub Node-Convict Repository for a patched release and upgrade convict as soon as a fix is published.
Workarounds
- Wrap config.set() calls in a validator that rejects keys matching /(^|\.)constructor(\.|$)/ before invocation.
- Freeze critical global objects at process startup using Object.freeze(Object) to prevent runtime overwrites of built-in methods.
- Isolate configuration ingestion in a separate process or worker so that a corrupted global environment does not disrupt the primary service.
# Configuration example: audit installed convict versions and block risky keys at a reverse proxy
npm ls convict
# Example nginx rule to drop requests containing "constructor." in JSON bodies
# location /api/config { if ($request_body ~* "\"constructor\\.") { return 400; } }
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

