CVE-2026-42290

published 13 May 2026 · updated 11 Nov 2026

protobufjs-cli: OS Command Injection

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.2.1 and 2.0.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
protobufjs<1.2.1, >=2.0.0 <2.0.2
protobufjs_projectprotobufjs-cli<1.2.1, >=2.0.0 <2.0.21.2.1, 2.0.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-42290 severity on Zeptric[![CVE-2026-42290](https://zeptric.io/badge/cve/CVE-2026-42290.svg)](https://zeptric.io/cve/CVE-2026-42290)