p PatchFirst

CVE-2026-54269

CVE-2026-54269 · protobufjs: Schema-derived names can shadow runtime-significant properties

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 5.3 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • protobuf.js

    Versions
    • < 7.6.3: Affected
    • >= 8.0.0, < 8.6.0: Affected

    No fix published

  • protobufjs npm

    Affected ranges
    • SEMVER: < 7.6.3

    Update to 7.6.3

  • protobufjs-cli npm

    Affected ranges
    • SEMVER: ≥ 2.0.0, < 2.5.1

    Update to 2.5.1

  • protobufjs-cli npm

    Affected ranges
    • SEMVER: < 1.3.3

    Update to 1.3.3

  • protobufjs npm

    Affected ranges
    • SEMVER: ≥ 8.0.0, < 8.6.0

    Update to 8.6.0

Original sources

Check your server →