Loading advisory.
Loading advisory.
protobuf.js: Prototype injection in generated message constructors
protobufjs generated message constructors copied enumerable properties from a provided properties object without filtering the proto key.
Published 2026-05-12 15:01 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| protobufjs | npm | < 7.5.6 >= 8.0.0, < 8.0.2 | 7.5.6, 8.0.2 | npm install protobufjs@7.5.6npm install protobufjs@8.0.2 |
protobufjs generated message constructors copied enumerable properties from a provided properties object without filtering the __proto__ key. If an application constructed a message from an attacker-controlled plain object, an own enumerable __proto__ property could alter the prototype of that individual message instance.
An attacker who can control the properties object passed to a generated protobufjs message constructor or creation helper may be able to modify the prototype chain of the resulting message instance.
This is a per-instance prototype injection issue. It does not pollute Object.prototype or other global prototypes. The impact depends on downstream application behavior, such as relying on inherited properties, prototype methods, or instanceof checks for message objects.
Applications that only decode binary protobuf data, or that construct messages from trusted application-defined objects, are not directly affected by this issue.
The application must allow an attacker to control or influence a plain object used to construct a protobufjs message.
The object must contain an own enumerable __proto__ property, for example from parsed JSON input.
The application must pass that object to a generated message constructor or creation helper that copies arbitrary enumerable properties.
Do not pass attacker-controlled plain objects directly to generated message constructors with affected versions. If untrusted JSON input must be accepted, validate or sanitize object keys before constructing messages, and reject __proto__ properties.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.003 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.003 | 0.003 | v2026.06.15 |