SecurityContext

CVE-2026-44295: protobufjs-cli - Template Injection

  • Cve: CVE-2026-44295
  • Name: protobufjs-cli - Template Injection
  • Description: protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.2.1 and 2.0.2, pbjs static code generation could emit unsafe JavaScript identifiers derived from schema-controlled names. When generating static JavaScript from a crafted schema or JSON descriptor, certain namespace, enum, service, or derived full names could be written into the generated output without sufficient sanitization. This vulnerability is fixed in 1.2.1 and 2.0.2.
  • Impact: Attackers can inject unsafe JavaScript identifiers, potentially leading to code execution or logic manipulation in generated code.
  • Remediation: Update to versions 1.2.1 or 2.0.2 or later.
  • Vulnerability type: template_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.7
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Epss score: 0.00395
  • Epss percentile: 0.34241
  • Assignee: [email protected]
  • Published at: 2026-05-13T16:16:56Z
  • Age in days: 195
  • Modified at: 2026-11-11T20:10:00Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-44295
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

UrlSourceTags
https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-6r35-46g8-jcw9nvdVendor 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

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts