CVE-2026-41242 — Code Injection in Protobuf.js
Severity
9.4CRITICALNVD
EPSS
0.1%
top 81.11%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 18
Latest updateApr 28
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.
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
Affected Packages39 packages
🔴Vulnerability Details
1VulDB▶
protobufjs protobuf.js up to 7.5.4/8.0.0 Type code injection (GHSA-xq3m-2v4x-88gg / EUVD-2026-23678)↗2026-04-18
📋Vendor Advisories
1Red Hat▶
protobufjs: protobufjs: Arbitrary code execution via injected protobuf definition type fields↗2026-04-18
🕵️Threat Intelligence
1Hackernews
▶
💬Community
7Bugzilla▶
CVE-2026-41242 qt5-qtwebengine: protobufjs: Arbitrary code execution via injected protobuf definition type fields [fedora-all]↗2026-04-28
Bugzilla▶
CVE-2026-41242 qt6-qtwebengine: protobufjs: Arbitrary code execution via injected protobuf definition type fields [epel-all]↗2026-04-28
Bugzilla▶
CVE-2026-41242 onnxruntime: protobufjs: Arbitrary code execution via injected protobuf definition type fields [fedora-all]↗2026-04-28
Bugzilla▶
CVE-2026-41242 cockatrice: protobufjs: Arbitrary code execution via injected protobuf definition type fields [epel-all]↗2026-04-28
Bugzilla▶
CVE-2026-41242 qt5-qtwebengine: protobufjs: Arbitrary code execution via injected protobuf definition type fields [epel-all]↗2026-04-27