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

Configuration 1 (hide)

OR cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
cpe:2.3:a:protobufjs_project:protobufjs:8.0.0:*:*:*:*:node.js:*:*

History

No history.

Information

Published : 2026-04-18 17:16

Updated : 2026-09-09 13:19


NVD link : CVE-2026-41242

Mitre link : CVE-2026-41242

CVE.ORG link : CVE-2026-41242


JSON object : View

Products Affected

protobufjs_project

  • protobufjs
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')