What’s Vulnerable › Vulnerabilities
CVE-2026-42290: protobufjs-cli: OS Command Injection
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-13 · updated 2026-06-17
- Weakness: CWE-78
Description
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.
Affected products
- protobufjs-cli: before 1.2.1; from 2.0.0 before 2.0.2 — fixed in 1.2.1, 2.0.2
How to fix
Upgrade to a fixed version: protobufjs-cli 1.2.1, 2.0.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-42290 or the next vulnerability affects your stack