SecurityContext

CVE-2026-42290: protobufjs-cli - Command Injection

  • Cve: CVE-2026-42290
  • Name: protobufjs-cli - 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.
  • Impact: Attackers can execute arbitrary shell commands, potentially leading to full system compromise.
  • Remediation: Update to version 1.2.1 or 2.0.2 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00183
  • Epss percentile: 0.07898
  • Assignee: [email protected]
  • Published at: 2026-05-13T16:16:47Z
  • Age in days: 195
  • Modified at: 2026-11-11T20:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42290
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://github.com/0x5t4l1n/CVE-2026-42290poc-in-github2026-11-22

References

UrlSourceTags
https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjjnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
protobufjs_project:protobufjs-cli>= 2.0.0, < 2.0.2; < 1.2.1nonvd/v1/products/protobufjs_project/protobufjs-cli

Projects

RepositoryLink kindsIndexedUrl
protobufjs/protobuf.jspackage, releases, security_advisoryyes/v1/repositories/protobufjs/protobuf.js

Index

  • Repositories: 36
  • Repositories high signal: 24
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-11-22
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts