Skip to main content
← All vulnerabilities
CVE-2026-44295GHSA-6R35-46G8-JCW9

protobufjs-cli: Code injection in pbjs static output from crafted schema names

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

Summary

protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.2.1 and 2.0.2, pbjs static code generation could emit unsafe JavaScript identifiers derived from schema-controlled names. When generating static JavaScript from a crafted schema or JSON descriptor, certain namespace, enum, service, or derived full names could be written into the generated output without sufficient sanitization. This vulnerability is fixed in 1.2.1 and 2.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

    From 2.0.0 · fixed in 2.0.2; fixed in 1.2.1

  • protobufjs-clinpm

    fixed in 1.2.1

  • protobufjs-clinpm

    From 2.0.0 · fixed in 2.0.2

References 1

GitHub · protobufjs/protobuf.js