{"id":"CVE-2026-44293","aliases":["CVE-2026-44293","GHSA-66ff-xgx4-vchm"],"related":[],"kind":"vulnerability","state":"published","title":"protobufjs: Code injection through bytes field defaults in generated toObject code","summary":"protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion could include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor with a non-string default value for a bytes field could cause attacker-controlled code to be emitted into the generated conversion function. This vulnerability is fixed in 7.5.6 and 8.0.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion could include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor with a non-string default value for a bytes field could cause attacker-controlled code to be emitted into the generated conversion function. This vulnerability is fixed in 7.5.6 and 8.0.2.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nprotobufjs generated JavaScript for `toObject` conversion could include an unsafe expression derived from a schema-controlled `bytes` field default value. A crafted descriptor with a non-string default value for a `bytes` field could cause attacker-controlled code to be emitted into the generated conversion function.\n\n## Impact\n\nAn attacker who can provide or influence a protobuf descriptor may be able to execute arbitrary JavaScript in the context of the process using protobufjs.\n\nThis requires the application to load an attacker-controlled schema or descriptor and then convert a message of the affected type with defaults enabled. Applications that only use trusted, application-defined schemas are not directly affected by this issue.\n\n## Preconditions\n\n- The application must allow an attacker to control or influence a protobuf JSON descriptor or equivalent reflected schema.\n- The descriptor must define a `bytes` field with an attacker-controlled default value.\n- The application must call `toObject` with defaults enabled for the affected type.\n\n## Workarounds\n\nDo not load protobuf schemas or JSON descriptors from untrusted sources with affected versions. If untrusted schemas must be accepted, validate or restrict field options before loading them and run schema processing in an isolated environment.","format":"markdown","source":"ghsa"},{"lang":"es","text":"protobufjs compila definiciones de protobuf en funciones de JavaScript (JS). Antes de 7.5.6 y 8.0.2, el JavaScript generado por protobufjs para la conversión a toObject podría incluir una expresión insegura derivada de un valor predeterminado de campo de bytes controlado por esquema. Un descriptor manipulado con un valor predeterminado no-cadena para un campo de bytes podría causar que código controlado por el atacante fuera emitido en la función de conversión generada. Esta vulnerabilidad está corregida en 7.5.6 y 8.0.2.","source":"nvd"}],"published":"2026-05-12T15:06:13.000Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"< 7.5.6","status":"affected"},{"version":">= 8.0.0, < 8.0.2","status":"affected"}],"vendor":"protobufjs","product":"protobuf.js","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.6.10-1.el9ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.6 for RHEL 9","package":"automation-platform-ui","cpe":"cpe:/a:redhat:ansible_automation_platform:2.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.1.1-1.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"rh-podman-desktop","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782761510","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.6","package":"ansible-automation-platform-26/gateway-rhel9","cpe":"cpe:/a:redhat:ansible_automation_platform:2.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1781187342","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Developer Hub 1.9","package":"rhdh/rhdh-hub-rhel9","cpe":"cpe:/a:redhat:rhdh:1.9::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787347991","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","package":"rhoai/odh-dashboard-rhel9","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787250508","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","package":"rhoai/odh-mod-arch-automl-rhel9","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787251550","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","package":"rhoai/odh-mod-arch-autorag-rhel9","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1786611759","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","package":"rhoai/odh-mod-arch-gen-ai-rhel9","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787251250","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","package":"rhoai/odh-mod-arch-maas-rhel9","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1786612219","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","package":"rhoai/odh-mod-arch-mlflow-rhel9","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787250617","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","package":"rhoai/odh-mod-arch-model-registry-rhel9","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787031447","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.18","package":"openshift4/ose-console-rhel9","cpe":"cpe:/a:redhat:openshift:4.18::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1786486822","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.19","package":"openshift4/ose-console-rhel9","cpe":"cpe:/a:redhat:openshift:4.19::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783602326","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.20","package":"openshift4/ose-console-rhel9","cpe":"cpe:/a:redhat:openshift:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783502338","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.21","package":"openshift4/ose-console-rhel9","cpe":"cpe:/a:redhat:openshift:4.21::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782224390","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.22","package":"openshift4/ose-console-rhel9","cpe":"cpe:/a:redhat:openshift:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780997382","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Service Mesh 3.3","package":"openshift-service-mesh/kiali-ossmc-rhel9","cpe":"cpe:/a:redhat:service_mesh:3.3::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780997438","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Service Mesh 3.3","package":"openshift-service-mesh/kiali-rhel9","cpe":"cpe:/a:redhat:service_mesh:3.3::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-console-plugin-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-console-plugin-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Build of Podman Desktop","package":"rh-podman-desktop.git","cpe":"cpe:/a:redhat:podman_desktop:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"grafana","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"grafana","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","package":"rhelai3/bootc-cuda-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","package":"rhelai3/bootc-gaudi-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","package":"rhelai3/bootc-rocm-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","package":"rhelai3/disk-image-cuda-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"dotnet9.0","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-mod-arch-eval-hub-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift3/ose-console","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift4/ose-console","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","package":"odf4/mcg-core-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Self-service automation portal 2","package":"ansible-automation-platform/automation-portal","cpe":"cpe:/a:redhat:ansible_portal:2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.5.6"}],"ecosystem":"npm","package":"protobufjs","purl":"pkg:npm/protobufjs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.0.2"}],"ecosystem":"npm","package":"protobufjs","purl":"pkg:npm/protobufjs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"7.5.6"},{"status":"affected","introduced":"8.0.0","fixed":"8.0.2"}],"vendor":"protobufjs_project","product":"protobufjs","cpe":"cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-66ff-xgx4-vchm","tags":["mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-44293","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2477104","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44293.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:34160","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37385","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:34374","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26234","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60520","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57487","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:54555","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37628","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37186","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:29795","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26090","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/protobufjs/protobuf.js","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.2","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-14T15:59:34.901Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44293","url":"https://www.cve.org/CVERecord?id=CVE-2026-44293","licence":"CVE Terms of Use","modified":"2026-09-09T12:05:01.307Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-66ff-xgx4-vchm","url":"https://github.com/advisories/GHSA-66ff-xgx4-vchm","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:45.707Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44293","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44293","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.592Z","epss":{"score":0.00407,"percentile":0.37075,"date":"2026-12-02T12:00:21.000Z"}}