Skip to main content
← All vulnerabilities
CVE-2026-44293GHSA-66FF-XGX4-VCHM

protobufjs: Code injection through bytes field defaults in generated toObject code

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.6, 8.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • protobufjs protobuf.js

    fixed in 7.5.6; From 8.0.0 · fixed in 8.0.2

  • protobufjsnpm

    fixed in 7.5.6

  • protobufjsnpm

    From 8.0.0 · fixed in 8.0.2

References 1

GitHub · protobufjs/protobuf.js