CVE-2026-41242: protobufjs has an arbitrary code execution issue
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.
Security readout for executives and security teams
Plain-English summary
protobuf.js can turn protobuf definitions into JavaScript code. In vulnerable versions, a malicious definition can place code in a type field and have it run when data is decoded. This is critical for systems that load protobuf definitions from users, partners, plugins, or other less-trusted sources.
Executive priority
Treat as urgent where protobuf definitions cross trust boundaries. Prioritize internet-facing, multi-tenant, plugin-based, and partner-integrated systems first. Where definitions are fully static and controlled, risk may be lower, but dependency remediation should still be scheduled promptly.
Technical view
CVE-2026-41242 is CWE-94 arbitrary code execution in protobuf.js before 7.5.5 and experimental 8.0.0 builds before 8.0.1. The issue is in generated JavaScript functions: attacker-controlled protobuf definition type fields may execute during object decoding. CVSS v4.0 is 9.4.
Likely exposure
Exposure is most likely in JavaScript applications or products using protobuf.js that compile or load protobuf definitions dynamically, especially from untrusted or semi-trusted sources. Projects may also be exposed through transitive dependencies or vendor packages that bundle vulnerable protobuf.js versions.
Exploitation context
The source bundle does not show CISA KEV listing or confirmed active exploitation. The advisory states exploitation requires the attacker to inject arbitrary code into protobuf definition type fields, with execution occurring during decoding using that definition.
Researcher notes
The key exposure question is whether an attacker can influence protobuf definitions, not merely protobuf message data. The provided sources identify fixed versions and patches, but do not provide evidence of active exploitation. Avoid assuming impact in products without confirming protobuf.js version and definition-loading behavior.
Mitigation direction
Upgrade protobuf.js to 7.5.5 or 8.0.1 as applicable.
Inventory direct and transitive protobuf.js dependencies in application lockfiles and SBOMs.
Avoid loading untrusted protobuf definitions until patched and validated.
Review Red Hat advisories if consuming affected Red Hat-packaged components.
Monitor the GitHub advisory and vendor errata for updated guidance.
Validation and detection
Confirm deployed builds resolve protobuf.js 7.5.5, 8.0.1, or later.
Search code paths that parse, load, or compile protobuf definitions dynamically.
Check whether protobuf definitions can be supplied by users, tenants, plugins, or partners.
Verify CI dependency scans flag protobuf.js versions below fixed releases.
Confirm container images and packaged products include the remediated dependency.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-94: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
13Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-94 · source CWE mapping
Improper Control of Generation of Code ('Code Injection')
Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.