What’s Vulnerable › Vulnerabilities
CVE-2026-44295: protobufjs-cli: Code injection in pbjs static output from crafted schema names
- Severity: high (CVSS 8.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-13 · updated 2026-06-17
- Weakness: CWE-94
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.
Affected products
- protobufjs-cli: before 1.2.1; from 2.0.0 before 2.0.2 — fixed in 1.2.1, 2.0.2
How to fix
Upgrade to a fixed version: protobufjs-cli 1.2.1, 2.0.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-44295 or the next vulnerability affects your stack