CVE-2026-44295
Published:May 13, 2026
Updated:May 16, 2026
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 Packages
https://github.com/protobufjs/protobuf.js.git (GITHUB):
Affected version(s) >=protobufjs-cli-v1.0.0 <protobufjs-cli-v1.2.1Fix Suggestion:
Update to version protobufjs-cli-v1.2.1https://github.com/protobufjs/protobuf.js.git (GITHUB):
Affected version(s) >=protobufjs-cli-v2.0.0 <protobufjs-cli-v2.0.2Fix Suggestion:
Update to version protobufjs-cli-v2.0.2protobufjs-cli (NPM):
Affected version(s) >=1.0.0-beta.0 <1.2.1Fix Suggestion:
Update to version 1.2.1protobufjs-cli (NPM):
Affected version(s) >=1.0.0-beta.0 <1.2.1Fix Suggestion:
Update to version 1.2.1protobufjs-cli (NPM):
Affected version(s) >=2.0.0 <2.0.2Fix Suggestion:
Update to version 2.0.2protobufjs-cli (NPM):
Affected version(s) >=2.0.0 <2.0.2Fix Suggestion:
Update to version 2.0.2Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.03