CVE-2026-42290

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

Configuration 1 (hide)

OR cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*
cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) protobufjs-cli es el complemento de línea de comandos para protobuf.js. Antes de 1.2.1 y 2.0.2, pbts invocaba JSDoc al construir una cadena de comando de shell a partir de rutas de archivos de entrada y ejecutarla a través de child_process.exec. Las rutas de archivos que contenían metacaracteres de shell podían, por lo tanto, ser interpretadas por el shell en lugar de ser pasadas a JSDoc como argumentos simples. Esta vulnerabilidad está corregida en 1.2.1 y 2.0.2.

19 May 2026, 20:56

Type Values Removed Values Added
First Time Protobufjs Project
Protobufjs Project protobufjs-cli
References () https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj - () https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj - Vendor Advisory
CPE cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*

13 May 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-13 16:16

Updated : 2026-11-11 20:10


NVD link : CVE-2026-42290

Mitre link : CVE-2026-42290

CVE.ORG link : CVE-2026-42290


JSON object : View

Products Affected

protobufjs_project

  • protobufjs-cli
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')