CVE-2026-42290Protobufjs Project Protobufjs-cli
High 7.8
Follow: this CVE · Protobufjs Project · Protobufjs Project Protobufjs-cli We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- May 13, 2026
- Updated
- Nov 11, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Protobufjs-cli.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | protobufjs-cli |
< 1.2.1 |
1.2.1 |
npm install protobufjs-cli@1.2.1 |
| npm | protobufjs-cli |
≥ 2.0.0 < 2.0.2 |
2.0.2 |
npm install protobufjs-cli@2.0.2 |
Per OSV / GitHub Advisories (GHSA-f84p-cvgm-xgjj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| protobufjs_project | protobufjs-cli | < 1.2.1 |
| protobufjs_project | protobufjs-cli | ≥ 2.0.0 < 2.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory