CVE-2026-42290
High · 7.8CVSS
7.8
EPSS
0.2%
Published
May 13, 2026
CISA due date
—
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | protobufjs-cli | 0 | 1.2.1 |
| npm | protobufjs-cli | 2.0.0 | 2.0.2 |
Related vulnerabilities
- GHSA-f84p-cvgm-xgjj protobuf.js is Vulnerable to OS Command Injection in the CLI Same vulnerability
- CVE-2026-54271 protobufjs-cli is the command line add-on for protobuf.js. Also affects protobufjs-cli
- CVE-2026-54269 protobufjs compiles protobuf definitions into JavaScript (JS) functions. Also affects protobufjs-cli
- GHSA-pr59-h9ph-3fr8 protobufjs-cli: Code injection in pbjs static output from crafted JSON descriptor names Also affects protobufjs-cli
- GHSA-f38q-mgvj-vph7 protobufjs : Schema-derived names can shadow runtime-significant properties Also affects protobufjs-cli
- CVE-2026-44295 protobufjs-cli is the command line add-on for protobuf.js. Also affects protobufjs-cli
- GHSA-6r35-46g8-jcw9 protobuf.js: Code injection in pbjs static output from crafted schema names Also affects protobufjs-cli
- CVE-2026-96376 Improper Neutralization of Special Elements used in an OS Command ("OS Command… CWE-78