Skip to main content
VulnerabilityPublished Updated

CVE-2026-41242: protobufjs protobuf.js · Code Injection

Affects protobufjs protobuf.jsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.4 Critical : upgrade to 8.0.1 or 7.5.5 as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.0.1, 7.5.5
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade protobuf.js to 8.0.1 or 7.5.5; protobufjs to 7.5.5.

Affected software

ProductAffectedFixed in
protobufjsprotobuf.jsAffected
  • >=8.0.0-experimental <8.0.1
Fixed in
  • 8.0.1
protobufjsprotobuf.jsAffected
  • <7.5.5
Fixed in
  • 7.5.5
npmprotobufjspkg:npm/protobufjsOther threatsAffected
  • <7.5.5
Fixed in
  • 7.5.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade protobuf.js to version 7.5.5 or later, as these versions include patches that fix the code injection vulnerability. Since the vendor advisory and CVE description confirm the fix in 7.5.5 and 8.0.1, applying these updates is the recommended remediation. No additional mitigations or temporary fixes are documented in the vendor advisory.

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.

References

Community reviews

Loading reviews…