CVE-2026-42290
protobufjs-cli: OS Command Injection
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 |
| Vendor | protobufjs |
| Product | protobuf.js |
| Published | May 13, 2026 |
Stay Ahead of the Next One
Get instant alerts for protobufjs protobuf.js
Be the first to know when new high vulnerabilities affecting protobufjs protobuf.js are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
protobufjs / protobuf.js
>= 2.0.0, < 2.0.2 < 1.2.1