CVE-2026-42290
Last modified
CVE-2026-42290 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Protobufjs Project | Protobufjs-Cli | < 1.2.1 |
| Protobufjs Project | Protobufjs-Cli | >= 2.0.0, < 2.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42290?
How severe is CVE-2026-42290?
How do I fix CVE-2026-42290?
Are you affected by CVE-2026-42290?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
