CVE-2026-33863: Convict Convict Has Prototype Pollution Vulnerability
CRITICALCVE-2026-33863 is a CRITICAL convict has prototype pollution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Convict libraries in the npm ecosystem. The issue involves convict has prototype pollution via load(), loadfile(), and schema initialization. Remediation is available by upgrading affected packages to version 6.2.5.
CVE-2026-33863 at a Glance
How to Fix CVE-2026-33863
To remediate this vulnerability, upgrade all affected Convict dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install convict@6.2.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls convict
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-33863, inspect your project dependencies using npm:
npm ls convict
Analyze the terminal output to locate any version of Convict in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.2.5), your application is affected.
Note: The npm ls convict command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Convict, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-33863 Affected Convict Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
convict
|
npm |
< 6.2.5
|
6.2.5
|
References
Frequently Asked Questions
What is CVE-2026-33863?
Which Convict versions are affected?
What version fixes CVE-2026-33863?
Is convict affected?
What CWE is associated with CVE-2026-33863?
How can I check npm dependencies for CVE-2026-33863?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hf2r-9gf9-rwch",
"modified" : "2026-03-26T18:50:34Z",
"published" : "2026-03-26T18:50:33Z",
"aliases" : [ "CVE-2026-33863" ],
"summary" : "Convict has prototype pollution via load(), loadFile(), and schema initialization",
"details" : "### Impact\nTwo unguarded prototype pollution paths exist, not covered by previous fixes:\n\n1. `config.load()` / `config.loadFile()` — `overlay()` recursively merges config data without checking for forbidden keys. Input containing` __proto__` or `constructor.prototype` (e.g. from a JSON file) causes the recursion to reach `Object.prototype` and write attacker-controlled values onto it.\n2. Schema initialization — passing a schema with `constructor.prototype.*` keys to `convict({...})` causes default-value propagation to write directly to `Object.prototype` at startup.\n\nDepending on how polluted properties are consumed, impact ranges from unexpected behavior to authentication bypass or RCE.\n\n### Workarounds\nDo not pass untrusted data to load(), loadFile(), or convict().\n\n### Resources\nPrior advisory: [GHSA-44fc-8fm5-q62h](https://github.com/mozilla/node-convict/security/advisories/GHSA-44fc-8fm5-q62h)\nRelated issue: [https://github.com/mozilla/node-convict/issues/423](https://github.com/mozilla/node-convict/issues/423)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "convict"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.2.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.2.4"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mozilla/node-convict/security/advisories/GHSA-44fc-8fm5-q62h"
}, {
"type" : "WEB",
"url" : "https://github.com/mozilla/node-convict/security/advisories/GHSA-hf2r-9gf9-rwch"
}, {
"type" : "WEB",
"url" : "https://github.com/mozilla/node-convict/issues/423"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mozilla/node-convict"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-26T18:50:33Z",
"nvd_published_at" : null
}
}