CVE-2026-41242: Arbitrary JavaScript execution in protobufjs schema processing
- Vendor
- Protobufjs Project
CVE-2026-41242 is a code injection vulnerability in protobufjs releases before the respective fixed versions 6.11.6, 7.5.5, and 8.0.1. protobufjs compiles Protocol Buffers definitions into JavaScript functions. Insufficient validation of type fields, names, and references in attacker-controlled protobuf schemas or JSON descriptors allows injected JavaScript to reach runtime code generation through reflection APIs. The injected code executes when the application uses an affected generated-code path, including object decoding with the malicious definition.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary JavaScript execution within the consuming application's process, potentially compromising data confidentiality, integrity, and service availability with the application's permissions. Applications that decode messages exclusively with trusted, application-defined schemas are not directly affected by this schema-injection mechanism.
Mitigation
If you can’t patch tonight, do this now.
Do not load protobuf definitions or JSON descriptors from untrusted sources into affected protobufjs versions. If untrusted schemas must be accepted, restrict or validate them before loading and process them in an isolated environment with minimal privileges. No vendor workaround is specified for the affected Tanzu product releases.
Remediation
Patch, then assume compromise.
Upgrade protobufjs to version 6.11.6, 7.5.5, or 8.0.1, or a later supported version in the applicable release line. Update applications and bundled dependencies that incorporate vulnerable protobufjs releases.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-41242 exploited in the wild?
- As of Nov 5, 2026, Mallory has no reports of CVE-2026-41242 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-41242?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-41242, the earliest disclosed Aug 7, 2026.
- Is there a patch for CVE-2026-41242?
- Upgrade protobufjs to version 6.11.6, 7.5.5, or 8.0.1, or a later supported version in the applicable release line. Update applications and bundled dependencies that incorporate vulnerable protobufjs releases.
- What products are affected by CVE-2026-41242?
- Protobufjs Project Protobufjs.
- How severe is CVE-2026-41242?
- CVE-2026-41242 has a CVSS v4 score of 9.4 (Critical) and an EPSS score of 1.4% (73rd percentile) as of Nov 5, 2026.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.