Skip to main content
← All vulnerabilities
CVE-2026-42290GHSA-F84P-CVGM-XGJJ

protobufjs-cli: OS Command Injection

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, pbts invoked JSDoc by building a shell command string from input file paths and executing it through child_process.exec. File paths containing shell metacharacters could therefore be interpreted by the shell instead of being passed to JSDoc as plain arguments. 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