Skip to content
CVE PROGRAM SOURCE RECORD9.4 Critical

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

protobufjs protobuf.js

  • < 7.5.5affected
  • >= 8.0.0-experimental, < 8.0.1affected

References