What’s Vulnerable › Vulnerabilities

CVE-2026-44291: protobufjs: Code generation gadget after prototype pollution

Description

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, 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. This vulnerability is fixed in 7.5.6 and 8.0.2.

Affected products

How to fix

Upgrade to a fixed version: protobufjs 7.5.6, 8.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-44291 or the next vulnerability affects your stack