CVE-2026-41242

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.

Score
CVSS 3.1 9.8 Critical
Status
Modified - security-advisories@github.com
Published
2026-04-18
Last modified
2026-09-09
Weaknesses
CWE-94

Affected products

References