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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj
Scores
CVSS v3
7.8
EPSS
0.0002
EPSS Percentile
6.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-78
Status
published
Products (5)
npm/protobufjs-cli
0 - 1.2.1npm
npm/protobufjs-cli
2.0.0 - 2.0.2npm
protobufjs/protobuf.js
< 1.2.1
protobufjs/protobuf.js
>= 2.0.0, < 2.0.2
protobufjs_project/protobufjs-cli
< 1.2.1
Published
May 13, 2026
Tracked Since
May 13, 2026