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

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-05-12T14:59:45.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-f84p-cvgm-xgjj
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- protobufjs protobuf.js: >= 2.0.0, < 2.0.2; < 1.2.1
- protobufjs-cli (npm): before 1.2.1; from 2.0.0 before 2.0.2
- protobufjs_project protobufjs-cli: before 1.2.1; from 2.0.0 before 2.0.2

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42290> (advisory)
- <https://github.com/protobufjs/protobuf.js> (package)
- <https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-cli-v1.2.1> (web)
- <https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-cli-v2.0.2> (web)

## Sources

- CVE List: [CVE-2026-42290](https://www.cve.org/CVERecord?id=CVE-2026-42290), CVE Terms of Use, modified 2026-05-18
- GitHub Advisory Database: [GHSA-f84p-cvgm-xgjj](https://github.com/advisories/GHSA-f84p-cvgm-xgjj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42290](https://nvd.nist.gov/vuln/detail/CVE-2026-42290), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-42290 · Whole record: https://cve.day/CVE-2026-42290.json · Rebuilt by cve.day 2026-11-25T22:59:21.571Z
