Skip to main content
← All vulnerabilities
CVE-2026-54269GHSA-F38Q-MGVJ-VPH7

protobufjs: Schema-derived names can shadow runtime-significant properties

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.6.3, 8.6.0, 2.5.1, 1.3.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • protobufjs protobuf.js

    fixed in 7.6.3; From 8.0.0 · fixed in 8.6.0

  • protobufjsnpm

    fixed in 7.6.3

  • protobufjs-clinpm

    From 2.0.0 · fixed in 2.5.1

  • protobufjs-clinpm

    fixed in 1.3.3

  • protobufjsnpm

    From 8.0.0 · fixed in 8.6.0

References 1

GitHub · protobufjs/protobuf.js