Skip to main content

CVE-2026-33863 — Vulnerability in convict — CVE Details

CRITICAL

Convict has prototype pollution via load(), loadFile(), and schema initialization

Published March 26, 2026Updated March 26, 2026Source: OSV

Does your project use an affected convict version?

Paste your package-lock.json to check it for CVE-2026-33863 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my package-lock.json

Summary

Impact

Two unguarded prototype pollution paths exist, not covered by previous fixes:

  1. 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.
  2. Schema initialization — passing a schema with constructor.prototype.* keys to convict({...}) causes default-value propagation to write directly to Object.prototype at 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

Advisory Timeline

  • First published March 26, 2026 (245 days ago).
  • Last revised March 26, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update convict to 6.2.5 or later
npm install convict@6.2.5

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageFixed In
convict npm · Affected: All versions6.2.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-1321
    Prototype PollutionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2026-33863?
Convict has prototype pollution via load(), loadFile(), and schema initialization. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.3/10).
How do I check if my project is affected by CVE-2026-33863?
CVE-2026-33863 affects convict. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-33863 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.3

Maximum impact if exploited, often with little effort or access required.

Also Known As

GHSA-hf2r-9gf9-rwch

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json