CVE-2026-42290
HIGH WAF: High
CVSS 7.8
Published: 2026-05-13
CWE-78
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.
WAF Coverage Analysis
OS Command Injection
High WAF Coverage
OWASP: A03:2021 Injection
932xxx - Remote Code Execution
Affected Software
| Vendor | Product | Version |
|---|---|---|
| protobufjs_project | protobufjs-cli | up to 1.2.1 |
| protobufjs_project | protobufjs-cli | 2.0.0 - 2.0.2 |
References
- github.com (Vendor Advisory)