Loading advisory.
Loading advisory.
protobufjs has an arbitrary code execution issue
protobufjs could execute generated JavaScript code derived from protobuf schema metadata. When loading a crafted JSON descriptor, schema-controlled type names and type references could reach runtime code generation without sufficient validation.
Published 2026-04-16 22:34 UTC · Modified 2026-11-04 17:28 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| protobufjs | npm | >= 8.0.0, < 8.0.1 >= 7.0.0, < 7.5.5 < 6.11.6 | 8.0.1, 7.5.5, 6.11.6 | npm install protobufjs@8.0.1npm install protobufjs@7.5.5npm install protobufjs@6.11.6 |
protobufjs could execute generated JavaScript code derived from protobuf schema metadata. When loading a crafted JSON descriptor, schema-controlled type names and type references could reach runtime code generation without sufficient validation.
An attacker who can provide a malicious protobuf definition or JSON descriptor to an application may be able to execute arbitrary JavaScript in the context of the process using protobufjs.
This requires control over the protobuf schema or descriptor being loaded. Applications that only decode messages using trusted, application-defined schemas are not directly affected by this issue.
The application must allow an attacker to control or influence a protobuf definition or JSON descriptor.
The application must load that definition through protobufjs reflection APIs such as descriptor loading.
The affected generated-code path must be reached, for example by performing an operation on the loaded type.
Do not load protobuf definitions or JSON descriptors from untrusted sources with affected versions. If untrusted schemas must be accepted, validate or restrict them before loading and run schema processing in an isolated environment.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.014 on 2026-11-24 to 0.018 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.014 | first score | v2026.06.15 |
| 2026-11-26 | 0.018 | 0.014 | v2026.06.15 |