Back to list

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

GitHub · GitHub · CVE-2026-44291

ID
CVE-2026-44291
Date
Activity
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
8.1

Summary

## Summary 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. ## Impact An attacker…

Product

npm: protobufjs

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories