CVE-2026-44295
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.
How to fix
- protobufjs_project protobufjs-cli1.2.1, 2.0.2 or later
- protobufjs-cli1.2.1, 2.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| protobufjs_project protobufjs-cli | v < 1.2.1, 2.0.0 ≤ v < 2.0.2 | 1.2.1, 2.0.2 |
| protobufjs-clinpm | v < 1.2.1, 2.0.0 ≤ v < 2.0.2 | 1.2.1, 2.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.