{"id":"CVE-2026-42290","published":"2026-05-13T14:49:30Z","modified":"2026-05-18T13:54:57Z","title":"protobufjs-cli: OS Command Injection","vendor":"protobufjs","product":"protobuf.js","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00183,"percentile":0.07898,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":1.58},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-22","earliestUrl":"https://github.com/0x5t4l1n/CVE-2026-42290","repos":[{"name":"0x5t4l1n/CVE-2026-42290","url":"https://github.com/0x5t4l1n/CVE-2026-42290","stars":0,"created":"2026-11-22"}]},"first":{"date":"2026-11-22","source":"PoC-in-GitHub","url":"https://github.com/0x5t4l1n/CVE-2026-42290"},"provenance":"source"},"vendorSlug":"protobufjs","affectedVersions":[{"vendor":"protobufjs","product":"protobuf.js","versions":[">= 2.0.0, < 2.0.2","< 1.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-18T13:52:37.731634Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"protobufjs-cli","vulnerableRanges":["<1.2.1",">=2.0.0, <2.0.2"],"patched":["1.2.1","2.0.2"],"from":["GHSA-f84p-cvgm-xgjj"],"provenance":"source"}],"summary":{"text":"The protobufjs-cli command line add-on for protobuf.js, specifically its pbts tool, builds a shell command string from input file paths and runs it through child_process.exec, so file paths containing shell metacharacters are interpreted by the shell rather than passed to JSDoc as plain arguments. An attacker who can get a user to run pbts against a crafted file path, with no authentication required and user interaction needed, can execute arbitrary OS commands with the privileges of that user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:24Z"},"euvd":{"id":"EUVD-2026-29996","exploited":false,"provenance":"source"}}