{"id":"CVE-2026-59876","aliases":["GHSA-jfj6-75fj-8934"],"summary":"protobufjs: Text Format string map parsing can mutate returned map object prototype","published_at":"2026-07-08T15:31:11.421Z","modified_at":"2026-10-01T06:41:59Z","products":[],"rating":{"severity":"medium","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.003490000031888485,"percentile":0.29194000363349915,"date":"2026-11-19T00:00:00Z"},"priority":6.8,"details":"protobufjs compiles protobuf definitions into JavaScript (JS) functions. From 8.2.0 until 8.6.5, the protobufjs Text Format extension parsed string-keyed map entries using ordinary property assignment, allowing a map entry with key __proto__ to change the prototype of the returned map object instead of creating an own map entry in protobufjs/ext/textformat. This issue is fixed in version 8.6.5.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"protobufjs/protobuf.js","versions":[">= 8.2.0, < 8.6.5"],"provider":"cvelistv5","source":"CVE-2026-59876","relation":"self"},{"ecosystem":"NVD","package":"protobufjs_project:protobufjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.2.0"},{"fixed":"8.6.5"}]}],"fixed":["8.6.5"],"provider":"nvd","source":"CVE-2026-59876","relation":"self"},{"ecosystem":"npm","package":"protobufjs","purl":"pkg:npm/protobufjs","ranges":[{"type":"SEMVER","events":[{"introduced":"8.2.0"},{"fixed":"8.6.5"}]}],"fixed":["8.6.5"],"provider":"osv","source":"GHSA-jfj6-75fj-8934","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Cryostat 4","cpe":"cpe:/a:redhat:cryostat:4","status":"not_affected","packages":["grafana-infinity-datasource-npm"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"not_affected","packages":["openshift-pipelines/pipelines-console-plugin-pf5-rhel9","openshift-pipelines/pipelines-console-plugin-rhel8","openshift-pipelines/pipelines-console-plugin-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 3","cpe":"cpe:/a:redhat:service_mesh:3","status":"not_affected","packages":["openshift-service-mesh/kiali-ossmc-rhel9","openshift-service-mesh/kiali-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-26/gateway-rhel9","automation-platform-ui"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-27/gateway-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Build of Podman Desktop","cpe":"cpe:/a:redhat:podman_desktop:1","status":"not_affected","packages":["rh-podman-desktop.git"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 9","cpe":"cpe:/a:redhat:ceph_storage:9","status":"affected","packages":["rhceph/alloy-rhel10"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"not_affected","packages":["rhdh/rhdh-hub-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["grafana","grafana-azure-monitor","grafana-cloudwatch","grafana-elasticsearch","grafana-graphite","grafana-influxdb","grafana-loki","grafana-mssql","grafana-mysql","grafana-opentsdb","grafana-postgres","grafana-prometheus","grafana-selinux","grafana-stackdriver"],"package_count":14,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"not_affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gaudi-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Hardened Images","cpe":"cpe:/a:redhat:hummingbird:1","status":"not_affected","packages":["dotnet9.0"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-console","openshift4/ose-console-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","cpe":"cpe:/a:redhat:openshift:5","status":"not_affected","packages":["openshift5/ose-console-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/mcg-core-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Self-service automation portal 2","cpe":"cpe:/a:redhat:ansible_portal:2","status":"not_affected","packages":["ansible-automation-platform/automation-portal","ansible-automation-platform/bootc-automation-portal-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-59876","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-59876","license":"CC-BY-4.0","published_at":"2026-07-08T15:31:11.421Z","modified_at":"2026-07-09T14:41:45.107Z","summary":"protobufjs: Text Format string map parsing can mutate returned map object prototype","details":"protobufjs compiles protobuf definitions into JavaScript (JS) functions. From 8.2.0 until 8.6.5, the protobufjs Text Format extension parsed string-keyed map entries using ordinary property assignment, allowing a map entry with key __proto__ to change the prototype of the returned map object instead of creating an own map entry in protobufjs/ext/textformat. This issue is fixed in version 8.6.5.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"CVE-2026-59876"}],"affected":[{"ecosystem":"CVE","package":"protobufjs/protobuf.js","versions":[">= 8.2.0, < 8.6.5"],"provider":"cvelistv5","source":"CVE-2026-59876","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jfj6-75fj-8934"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/pull/2335"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/commit/9f97fe413072d3beb52c74e62d88ea8adc9444d8"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.5"}]},{"provider":"nvd","source_id":"CVE-2026-59876","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59876","severity":[],"affected":[{"ecosystem":"NVD","package":"protobufjs_project:protobufjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.2.0"},{"fixed":"8.6.5"}]}],"fixed":["8.6.5"],"provider":"nvd","source":"CVE-2026-59876","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-jfj6-75fj-8934","relation":"self","url":"https://osv.dev/vulnerability/GHSA-jfj6-75fj-8934","license":"CC-BY-4.0","published_at":"2026-07-20T22:04:07Z","modified_at":"2026-09-10T03:50:12.269296Z","summary":"protobufjs: Text Format string map parsing can mutate returned map object prototype","details":"## Summary\n\nThe protobuf.js text format extension parsed string-keyed map entries using ordinary property assignment. A text-format map entry with key `__proto__` could therefore change the prototype of the returned map object instead of creating an own map entry.\n\nThis affected the optional Text Format extension. Other protobufjs input paths, including binary decode, `fromObject`, and ProtoJSON conversion, are not affected.\n\n## Impact\n\nAn attacker who can provide protobuf text-format input parsed by an application using `protobufjs/ext/textformat` may be able to create message objects whose string-keyed map fields have attacker-controlled prototypes.\n\nThis is per-object prototype mutation, not global `Object.prototype` pollution. Impact depends on downstream application logic treating inherited properties as meaningful, for example by using `in`, truthiness checks, or direct property access on parsed map objects instead of own-property checks.\n\nApplications that do not parse untrusted Text Format input, or that do not use inherited properties from parsed map objects in security-relevant logic, are not directly affected.\n\n## Preconditions\n\n* The application must parse attacker-controlled protobuf Text Format input with `protobufjs/ext/textformat`.\n* The target schema must contain a string-keyed map field.\n* The crafted input must provide a map entry with key `__proto__`.\n* Downstream application logic must treat inherited properties on the returned map object as meaningful for impact beyond malformed output.\n\n## Workarounds\n\nUpgrade to protobufjs 8.6.5 or newer.\n\nIf immediate upgrade is not possible, do not parse untrusted protobuf Text Format input with affected versions. Applications can also reject string map keys named `__proto__` before or during Text Format parsing, and should use own-property checks such as `Object.hasOwnProperty.call(map, key)` when consuming parsed map objects.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GHSA-jfj6-75fj-8934"}],"affected":[{"ecosystem":"npm","package":"protobufjs","purl":"pkg:npm/protobufjs","ranges":[{"type":"SEMVER","events":[{"introduced":"8.2.0"},{"fixed":"8.6.5"}]}],"fixed":["8.6.5"],"provider":"osv","source":"GHSA-jfj6-75fj-8934","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jfj6-75fj-8934"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59876"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/pull/2335"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/commit/9f97fe413072d3beb52c74e62d88ea8adc9444d8"},{"type":"PACKAGE","url":"https://github.com/protobufjs/protobuf.js"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.5"}]},{"provider":"redhat-vex","source_id":"CVE-2026-59876","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-59876","license":"CC-BY-4.0","published_at":"2026-07-08T15:31:11.421Z","modified_at":"2026-10-01T06:41:59Z","summary":"protobufjs: protobufjs: Prototype pollution vulnerability in Text Format extension","details":"A flaw was found in protobufjs. The Text Format extension, responsible for compiling protobuf definitions into JavaScript functions, improperly parsed string-keyed map entries. This allowed a specially crafted map entry with the key `__proto__` to modify the prototype of the returned map object. An attacker could exploit this to alter object behavior, potentially leading to information disclosure or other impacts.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"CVE-2026-59876"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-59876"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Cryostat 4","cpe":"cpe:/a:redhat:cryostat:4","status":"not_affected","packages":["grafana-infinity-datasource-npm"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"not_affected","packages":["openshift-pipelines/pipelines-console-plugin-pf5-rhel9","openshift-pipelines/pipelines-console-plugin-rhel8","openshift-pipelines/pipelines-console-plugin-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 3","cpe":"cpe:/a:redhat:service_mesh:3","status":"not_affected","packages":["openshift-service-mesh/kiali-ossmc-rhel9","openshift-service-mesh/kiali-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-26/gateway-rhel9","automation-platform-ui"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-27/gateway-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Build of Podman Desktop","cpe":"cpe:/a:redhat:podman_desktop:1","status":"not_affected","packages":["rh-podman-desktop.git"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 9","cpe":"cpe:/a:redhat:ceph_storage:9","status":"affected","packages":["rhceph/alloy-rhel10"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"not_affected","packages":["rhdh/rhdh-hub-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["grafana","grafana-azure-monitor","grafana-cloudwatch","grafana-elasticsearch","grafana-graphite","grafana-influxdb","grafana-loki","grafana-mssql","grafana-mysql","grafana-opentsdb","grafana-postgres","grafana-prometheus","grafana-selinux","grafana-stackdriver"],"package_count":14,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"not_affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gaudi-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Hardened Images","cpe":"cpe:/a:redhat:hummingbird:1","status":"not_affected","packages":["dotnet9.0"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-console","openshift4/ose-console-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","cpe":"cpe:/a:redhat:openshift:5","status":"not_affected","packages":["openshift5/ose-console-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/mcg-core-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"},{"vendor":"Red Hat","product":"Self-service automation portal 2","cpe":"cpe:/a:redhat:ansible_portal:2","status":"not_affected","packages":["ansible-automation-platform/automation-portal","ansible-automation-platform/bootc-automation-portal-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-59876"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59876.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-59876"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498129"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-59876"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59876"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/commit/9f97fe413072d3beb52c74e62d88ea8adc9444d8"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/pull/2335"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.5"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jfj6-75fj-8934"}]}],"references":[{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jfj6-75fj-8934"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/pull/2335"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/commit/9f97fe413072d3beb52c74e62d88ea8adc9444d8"},{"type":"WEB","url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59876"},{"type":"PACKAGE","url":"https://github.com/protobufjs/protobuf.js"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59876.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-59876"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498129"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-59876"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-59876","url":"https://www.cve.org/CVERecord?id=CVE-2026-59876","license":"CC-BY-4.0","modified_at":"2026-07-09T14:41:45.107Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-59876","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59876","relation":"self"},{"provider":"osv","source_id":"GHSA-jfj6-75fj-8934","url":"https://osv.dev/vulnerability/GHSA-jfj6-75fj-8934","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:12.269296Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-59876","url":"https://access.redhat.com/security/cve/CVE-2026-59876","license":"CC-BY-4.0","modified_at":"2026-10-01T06:41:59Z","relation":"self"}]}
