Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Protobufjs Project | Protobufjs-Cli | < 1.2.1 |
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-42290?
CVE-2026-42290 is a vulnerability with a CVSS score of 7.8 (HIGH). 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....
How severe is CVE-2026-42290?
CVE-2026-42290 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42290?
Check the references section above for vendor advisories and patch information. Affected products include: Protobufjs Project Protobufjs-Cli.