# CVE-2026-42290: protobufjs-cli: OS Command Injection

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-13 · Modified: 2026-05-18
- Aliases: CGA-82h9-7xqm-337f, CGA-w3gg-66qg-39p2, GHSA-f84p-cvgm-xgjj, CGA-5rhj-37qh-8q26, CGA-p532-2r98-q8v3
- Record: https://cvemate.com/vulnerability/CVE-2026-42290 · JSON: https://cvemate.com/vulnerability/CVE-2026-42290/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.183%, percentile 8.244%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard vitess-22 (Chainguard): All versions (No fix recorded)
- chainguard vitess-23 (Chainguard): \< 23.0.4-r5
- wolfi vitess-23 (Wolfi): \< 23.0.4-r5
- Npm protobufjs-cli (Npm): \< 1.2.1 \| ≥ 2.0.0, \< 2.0.2
- protobufjs\_project protobufjs-cli: \< 1.2.1 \| ≥ 2.0.0, \< 2.0.2
- protobufjs protobufjs: ≥ 2.0.0, \< 2.0.2 \| \< 1.2.1

## References

- <https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42290.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42290>
- <https://github.com/protobufjs/protobuf.js>
- <https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-cli-v1.2.1>
- <https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-cli-v2.0.2>

---

Data as of 2026-12-05T04:23:42.930Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
