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

CVE-2026-44291: protobuf.js: Code generation gadget after prototype pollution

May 12, 2026 (updated May 14, 2026)

protobufjs used plain objects with inherited prototypes for internal type lookup tables used by generated encode and decode functions. If Object.prototype had already been polluted, those lookup tables could resolve attacker-controlled inherited properties as valid protobuf type information.

This could cause attacker-controlled strings to be emitted into generated JavaScript code.

References

  • github.com/advisories/GHSA-75px-5xx7-5xc7
  • github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.6
  • github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.2
  • github.com/protobufjs/protobuf.js/security/advisories/GHSA-75px-5xx7-5xc7
  • nvd.nist.gov/vuln/detail/CVE-2026-44291

Code Behaviors & Features

Detect and mitigate CVE-2026-44291 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 7.5.6, all versions starting from 8.0.0 before 8.0.2

Fixed versions

  • 7.5.6
  • 8.0.2

Solution

Upgrade to versions 7.5.6, 8.0.2 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/protobufjs/CVE-2026-44291.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:24:04 +0000.