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

CVE-2026-33864: Convict has Prototype Pollution via startsWith() function

March 26, 2026

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.

References

  • github.com/advisories/GHSA-44fc-8fm5-q62h
  • github.com/mozilla/node-convict
  • github.com/mozilla/node-convict/blob/master/packages/convict/src/main.js
  • github.com/mozilla/node-convict/security/advisories/GHSA-44fc-8fm5-q62h
  • nvd.nist.gov/vuln/detail/CVE-2026-33864

Code Behaviors & Features

Detect and mitigate CVE-2026-33864 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-33864.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:31 +0000.