CVE 7.8 HIGH

protobufjs-cli: OS Command Injection_CVE-2026-42290

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-42290
Source GitHub_M
Published May 13, 2026 at 14:49

Affected Product

Vendor protobufjs
Product protobuf.js
Version >= 2.0.0, < 2.0.2
Affected Versions protobufjs protobuf.js >= 2.0.0, < 2.0.2
protobufjs protobuf.js < 1.2.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.