{"id":"GHSA-f84p-cvgm-xgjj","revision":null,"records":[{"revision":"36e0a34a466949008c81286b62314cf8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-42290","aliases":[],"title":"protobufjs-cli: OS Command Injection","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.","state":0,"publishedAt":"2026-05-13T14:49:30.03+00:00","modifiedAt":"2026-05-18T13:54:57.889+00:00","affected":[{"ecosystem":"Vendor product","name":"protobuf.js","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"protobufjs\",\n                    \"product\": \"protobuf.js\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 2.0.0, < 2.0.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"< 1.2.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"HIGH"}],"references":["https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-42290","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-42290","identifiers":["CVE-2026-42290"]},"retained":false,"historicalAffected":[]},{"revision":"47d07cabb9a541418951375929775bef","observedAt":"2026-11-15T13:05:16.526+00:00","statement":{"source":"euvd","id":"EUVD-2026-29996","aliases":["CVE-2026-42290","GHSA-f84p-cvgm-xgjj"],"title":"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 metach…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 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,"severity":null}],"references":["https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-29996","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 13, 2026, 2:49:30 PM","dateUpdated":"May 18, 2026, 1:54:57 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-29996","identifiers":["EUVD-2026-29996","CVE-2026-42290","GHSA-f84p-cvgm-xgjj"]},"retained":false,"historicalAffected":[]},{"revision":"2383a0555f754c5288884d0d80600cdd","observedAt":"2026-11-12T16:19:37.423+00:00","statement":{"source":"nvd","id":"CVE-2026-42290","aliases":[],"title":"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 metach…","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.","state":0,"publishedAt":"2026-05-13T16:16:47.16+00:00","modifiedAt":"2026-11-11T20:10:00.273+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-42290","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-78"],"productCriteria":["cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-05-13T16:16:47.160","lastModified":"2026-11-11T20:10:00.273"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-42290","identifiers":["CVE-2026-42290"]},"retained":false,"historicalAffected":[]},{"revision":"8dba0ce62a9c4233b4c2f0342e8024a4","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-f84p-cvgm-xgjj","aliases":["CVE-2026-42290"],"title":"protobuf.js is Vulnerable to OS Command Injection in the CLI","description":"## Summary\n\n`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.\n\n## Impact\n\nAn attacker who can control file names or paths passed to `pbts` may be able to execute arbitrary shell commands with the privileges of the process running `pbts`.\n\nThis affects the protobufjs CLI tooling path. The protobufjs runtime APIs for encoding, decoding, parsing, and loading protobuf messages are not directly affected by this issue.\n\n## Preconditions\n\n- The application or user must invoke `pbts` on file paths influenced by an attacker.\n- The attacker must be able to supply or create a path containing shell-significant characters.\n- The vulnerable `pbts` version must execute the generated JSDoc command through a shell.\n\n## Workarounds\n\nDo not run affected versions of `pbts` on attacker-controlled file names or paths. If this cannot be avoided, sanitize or rename input files before invoking `pbts`, or run the CLI in an isolated environment with minimal privileges.","state":0,"publishedAt":"2026-05-12T14:59:45+00:00","modifiedAt":"2026-09-10T03:50:46.7813561+00:00","affected":[{"ecosystem":"npm","name":"protobufjs-cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.2.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"protobufjs-cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.0.0"},{"kind":"fixed","version":"2.0.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj","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"],"sourceUrl":"https://github.com/advisories/GHSA-f84p-cvgm-xgjj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-f84p-cvgm-xgjj","identifiers":["GHSA-f84p-cvgm-xgjj","CVE-2026-42290"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T02:40:55.5499298+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T02:40:55.5499298+00:00","lastSuccessAt":"2026-11-16T02:40:55.7011971+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:55.701198+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-c752a1e051b8643685216373385073bf944fdf6392f01fe9214ca3f5c0dd4bf5","complete":true,"records":425877,"lastAttemptAt":"2026-11-16T02:40:54.3961015+00:00","lastSuccessAt":"2026-11-16T02:40:54.3873111+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:54.3961015+00:00","snapshotPublishedAt":"2026-11-16T02:27:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e1c58f39e92d4d9497df91cac7ea7d8c","complete":false,"records":13821,"lastAttemptAt":"2026-11-16T02:43:17.0754276+00:00","lastSuccessAt":"2026-11-16T02:43:17.1394892+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:43:17.1394892+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T02:40:55.5499298+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T02:40:55.5499298+00:00","lastSuccessAt":"2026-11-16T02:40:55.7026168+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:55.7026173+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-6af984755aaa43ed805ae31084d25516","complete":true,"records":13833,"lastAttemptAt":"2026-11-16T02:41:00.5806007+00:00","lastSuccessAt":"2026-11-16T02:41:00.576+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:41:00.576+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T02:40:55.0296372+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:55.0296372+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T02:40:54.5424991+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:54.5424991+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T02:40:55.4326019+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:55.4326019+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-e77c8ea93875d599a3ee92fde74c7150d1a28eacc697b92dc129baff6877c60e","complete":true,"records":232477,"lastAttemptAt":"2026-11-16T02:40:54.9249792+00:00","lastSuccessAt":"2026-11-16T01:07:48.2266333+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:54.9249792+00:00","snapshotPublishedAt":"2026-11-16T01:03:09+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}