Security mailing lists by PureSourceCode

CVE-2026-42290

HIGH 7.8CVSS 3.1

protobuf.js is Vulnerable to OS Command Injection in the CLI

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.

Published
13 May 2026
Last modified
11 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-78
Also known as
GHSA-f84p-cvgm-xgjj
Sources
NVDJSONOSV GHSA-f84p-cvgm-xgjjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD protobufjs_project protobufjs-cli
cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*
< 1.2.1 1.2.1
NVD protobufjs_project protobufjs-cli
cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*
>= 2.0.0, < 2.0.2 2.0.2
OSV npm protobufjs-cli < 1.2.1 1.2.1
OSV npm protobufjs-cli >= 2.0.0, < 2.0.2 2.0.2

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 May 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.