{"cve":"CVE-2026-42290","nvd":{"published":"2026-05-13T16:16:47.160","modified":"2026-06-17T10:47:38.587","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-78"],"references":["https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj"],"products":["protobufjs_project:protobufjs-cli"],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-42290","score":0.00132,"percentile":0.02764,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f84p-cvgm-xgjj","url":"https://osv.dev/vulnerability/GHSA-f84p-cvgm-xgjj","summary":"protobuf.js is Vulnerable to OS Command Injection in the CLI","modified":"2026-09-10T03:50:46.781356080Z","packages":[{"ecosystem":"npm","name":"protobufjs-cli","purl":"pkg:npm/protobufjs-cli","ranges":["<1.2.1"],"fixed":["1.2.1"]},{"ecosystem":"npm","name":"protobufjs-cli","purl":"pkg:npm/protobufjs-cli","ranges":[">=2.0.0 <2.0.2"],"fixed":["2.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}