Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. convict
  4. ›
  5. CVE-2026-33863

CVE-2026-33863: Convict has prototype pollution via load(), loadFile(), and schema initialization

March 26, 2026

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.

References

  • github.com/advisories/GHSA-hf2r-9gf9-rwch
  • github.com/mozilla/node-convict
  • github.com/mozilla/node-convict/issues/423
  • github.com/mozilla/node-convict/security/advisories/GHSA-44fc-8fm5-q62h
  • github.com/mozilla/node-convict/security/advisories/GHSA-hf2r-9gf9-rwch
  • nvd.nist.gov/vuln/detail/CVE-2026-33863

Code Behaviors & Features

Detect and mitigate CVE-2026-33863 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.2.5

Fixed versions

  • 6.2.5

Solution

Upgrade to version 6.2.5 or above.

Impact 9.3 CRITICAL

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/convict/CVE-2026-33863.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:57 +0000.