What’s Vulnerable › Vulnerabilities

CVE-2026-41242: protobufjs has an arbitrary code execution issue

Description

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 products

How to fix

Upgrade to a fixed version: protobufjs 7.5.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-41242 or the next vulnerability affects your stack