CVE-2026-41242 CRITICAL

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

Vendor Protobufjs
Product protobuf.js
Weakness CWE-94 · Code injection
Published April 18, 2026
Last update June 30, 2026

CVSS base score

9.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 18, 2026 CVE published
June 30, 2026 Record updated