What’s Vulnerable › Vulnerabilities
CVE-2026-54269: protobufjs: Schema-derived names can shadow runtime-significant properties
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-22 · updated 2026-10-25
- Weakness: CWE-674
Description
protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 8.6.0 and 7.6.3, protobufjs accepted certain schema-derived names that could collide with properties used by protobufjs runtime helpers. The known affected names are fields named hasOwnProperty, field or oneof names such as $type when loaded through protobufjs JSON/reflection descriptors, and service methods whose generated helper name is rpcCall. When affected message or service types were used, protobufjs could read schema-controlled data where it expected an own-property helper, reflected type metadata, or the base RPC helper. This could cause deterministic exceptions or recursive calls in affected decode post-checks, verification, object conversion, reflected JSON serialization, or protobufjs RPC helper invocation. This vulnerability is fixed in 8.6.0 and 7.6.3.
Affected products
- protobufjs: before 7.6.3; from 8.0.0 before 8.6.0 — fixed in 7.6.3, 8.6.0
- protobufjs-cli: before 1.3.3; from 2.0.0 before 2.5.1 — fixed in 1.3.3, 2.5.1
How to fix
Upgrade to a fixed version: protobufjs 7.6.3, 8.6.0; protobufjs-cli 1.3.3, 2.5.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-54269 or the next vulnerability affects your stack