Back to list

protobuf.js is Vulnerable to OS Command Injection in the CLI — CVE-2026-42290

GitHub · GitHub · CVE-2026-42290

ID
CVE-2026-42290
Date
Activity
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
7.8

Summary

## Summary `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. ## Impact An attacker who can control file names or paths passed to `pbts` may be able to execute arbitrary shell commands with the privileges…

Product

npm: protobufjs-cli

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories