cve.bz

CVE-2026-41242 protobufjs project protobufjs: Code Injection

9.4 criticalExploit referenceEPSS 0.8%Fix available

Critical (9.4) in protobufjs project protobufjs. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in protobufjs 6.11.6, 7.5.5, 8.0.1.

On this page
protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1, 7.5.5, and 6.11.6, 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, 7.5.5, and 6.11.6 patch the issue.

Severity

CVSS 4.0

9.4 critical
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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-04-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-41242 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-41242?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-41242?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-41242 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
protobufjs_project:protobufjsbefore 7.5.5
protobufjs_project:protobufjs8.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xq3m-2v4x-88ggnpmprotobufjs>=8.0.0 <8.0.18.0.1
GHSA-xq3m-2v4x-88ggnpmprotobufjs>=7.0.0 <7.5.57.5.5
GHSA-xq3m-2v4x-88ggnpmprotobufjs<6.11.66.11.6

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important impact remote code execution vulnerability in protobufjs allows attackers to inject arbitrary code into the 'type' fields of protobuf definitions, which executes during object decoding. Red Hat products that process untrusted protobuf definitions using the affected library versions are at risk. Red Hat has assessed this at IMPORTANT (not Critical) as exploitation requires low privileges.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Developer Hub 1.8rhdh/rhdh-hub-rhel9:1779841586Fixed 2026-05-27RHSA-2026:21338
Red Hat Developer Hub 1.9rhdh/rhdh-hub-rhel9:1781187342Fixed 2026-06-16RHSA-2026:26234
Red Hat OpenShift AI 2.25rhoai/odh-dashboard-rhel9:1780467029Fixed 2026-06-10RHSA-2026:24977
Red Hat OpenShift AI 2.25rhoai/odh-mod-arch-model-registry-rhel9:1780467147Fixed 2026-06-10RHSA-2026:24977
Red Hat OpenShift AI 3.3rhoai/odh-mod-arch-maas-rhel9:1783082680Fixed 2026-07-09RHSA-2026:37275
Red Hat OpenShift AI 3.3rhoai/odh-mod-arch-maas-rhel9:1790128949Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1790345193Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9:1790331344Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1789651383Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1790076724Fixed 2026-09-30RHSA-2026:73987
Cryostat 4grafana-infinity-datasource-npmNot affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-ossmc-rhel9Not affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/gateway-rhel9Not affected
Red Hat Ansible Automation Platform 2automation-platform-uiNot affected
Red Hat build of Apicurio Registry 3apicurio/apicurio-studio-ui-rhel8Will not fix
Red Hat Build of Podman Desktoppodman-desktop-macos-1-0Affected
Red Hat Build of Podman Desktoppodman-desktop-windows-1-0Affected
36 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-41242.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON