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.
History

Sat, 18 Apr 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title protobufjs has an arbitrary code execution issue
Weaknesses CWE-94
References
Metrics cvssV4_0

{'score': 9.4, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-18T16:18:10.652Z

Reserved: 2026-04-18T03:47:03.135Z

Link: CVE-2026-41242

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-18T17:16:13.983

Modified: 2026-04-18T17:16:13.983

Link: CVE-2026-41242

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.