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
| Link | Resource |
|---|---|
| https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-05-13 16:16
Updated : 2026-06-17 10:47
NVD link : CVE-2026-42290
Mitre link : CVE-2026-42290
CVE.ORG link : CVE-2026-42290
JSON object : View
Products Affected
protobufjs_project
- protobufjs-cli
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
