Code Execution Vulnerability in Protobuf.js by ProtobufJS
CVE-2026-41242
9.4CRITICAL
What is CVE-2026-41242?
Protobuf.js, a library that compiles protocol buffer definitions into JavaScript functions, is susceptible to a vulnerability that enables attackers to inject arbitrary code via the 'type' fields in protobuf definitions. This injected code can be executed during the decoding of the corresponding objects. The vulnerability affects versions prior to 8.0.1 and 7.5.5, both of which contain patches to mitigate the risk.
Affected Version(s)
protobuf.js < 7.5.5 < 7.5.5
protobuf.js >= 8.0.0-experimental, < 8.0.1 < 8.0.0-experimental, 8.0.1
