p PatchFirst

CVE-2026-44293

CVE-2026-44293 · protobufjs: Code injection through bytes field defaults in generated toObject code

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

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion could include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor with a non-string default value for a bytes field could cause attacker-controlled code to be emitted into the generated conversion function. This vulnerability is fixed in 7.5.6 and 8.0.2.

CVSS 7.7 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • protobuf.js

    Versions
    • < 7.5.6: Affected
    • >= 8.0.0, < 8.0.2: Affected

    No fix published

  • protobufjs npm

    Affected ranges
    • SEMVER: < 7.5.6

    Update to 7.5.6

  • protobufjs npm

    Affected ranges
    • SEMVER: ≥ 8.0.0, < 8.0.2

    Update to 8.0.2

Original sources

Check your server →