CVE-2026-54269
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.
- CVSS 3.1
- 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - EPSS
- 0.4% chance of exploitation in the next 30 days; higher than 34% of CVEs (scores of 2026-10-25)
- CWEs
- CWE-674, CWE-754
- Published
- Modified
- Record from
- the NVD, synced
Affected
- protobufjs_project:protobufjs
- protobufjs_project:protobufjs-cli
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-f38q-mgvj-vph7 | npm | protobufjs | <7.6.3 | 7.6.3 |
| GHSA-f38q-mgvj-vph7 | npm | protobufjs-cli | >=2.0.0 <2.5.1 | 2.5.1 |
| GHSA-f38q-mgvj-vph7 | npm | protobufjs-cli | <1.3.3 | 1.3.3 |
| GHSA-f38q-mgvj-vph7 | npm | protobufjs | >=8.0.0 <8.6.0 | 8.6.0 |