CVE-2026-41242
Published:April 18, 2026
Updated:April 23, 2026
protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1 and 7.5.5, attackers can inject arbitrary code in the "type" fields of protobuf definitions, which will then execute during object decoding using that definition. Versions 8.0.1 and 7.5.5 patch the issue.
Affected Packages
https://github.com/protobufjs/protobuf.js.git (GITHUB):
Affected version(s) >=protobufjs-v7.0.0 <protobufjs-v7.5.5Fix Suggestion:
Update to version protobufjs-v7.5.5https://github.com/protobufjs/protobuf.js.git (GITHUB):
Affected version(s) =protobufjs-v8.0.0 <protobufjs-v8.0.1Fix Suggestion:
Update to version protobufjs-v8.0.1protobufjs (NPM):
Affected version(s) >=8.0.0 <8.0.1Fix Suggestion:
Update to version 8.0.1protobufjs (NPM):
Affected version(s) >=0.0.0 <7.5.5Fix Suggestion:
Update to version 7.5.5Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.05