CVE-2026-42290

HIGH CVSS 3.1: 7.8 EPSS 0.13%
Updated Jun 17, 2026
Protobufjs_Project
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions 2.0.0 — 2.0.2
Fixed In 1.2.1
Type CWE-78 (OS Command Injection)
Vendor Protobufjs_Project
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Protobufjs_Project Protobufjs-Cli
cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*
— 1.2.1
Protobufjs_Project Protobufjs-Cli
cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*
2.0.0 2.0.2