CVE-2026-41242

· NIST NVD ↗

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.

CRITICAL
CVSS severity
9.8
CVSS base score
2026-04-18
Published

CWE codes

CWE-94

Affected products

protobufjs_project:protobufjs

Sources