Description
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.
Published: 2026-07-08
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

protobuf.js compiled protobuf definitions into JavaScript functions and, from version 8.2.0 until 8.6.5, parsed string‑keyed map entries in its Text Format extension by using plain property assignment. This allowed a map entry with the key "__proto__" to alter the prototype of the returned map object instead of creating an own map entry. This prototype mutation can lead to prototype pollution, potentially affecting the behavior of objects that share the same prototype.

Affected Systems

The affected product is protobufjs:protobuf.js. Versions 8.2.0 through 8.6.5, inclusive, are vulnerable. Affected installations must be updated to version 8.6.5.

Risk and Exploitability

The CVSS score of 4.8 indicates low severity, and the EPSS score is <1%; the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that attackers would need to supply crafted Text Format input that the application parses; this could be done locally or via an upstream input chain. Because the vulnerability hinges on the presence of a "__proto__" key in the parsed data, its exploitation is mitigated by restricting or cleansing such inputs. The low CVSS and absence of weaponized exploits suggest a moderate risk, but the potential impact of prototype pollution warrants remediation.

Generated by OpenCVE AI on July 29, 2026 at 13:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade protobuf.js to version 8.6.5 or later.
  • If an upgrade cannot be performed immediately, disable the Text Format extension or apply input validation that rejects map keys named "__proto__" or "constructor" before parsing.
  • Review code to ensure that all usages of protobuf.js do not expose untrusted data to the Text Format parser and consider employing an input‑sanitization library to guard against prototype pollution.

Generated by OpenCVE AI on July 29, 2026 at 13:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jfj6-75fj-8934 protobufjs: Text Format string map parsing can mutate returned map object prototype
History

Fri, 10 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-915
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 10 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Protobuf
Protobuf protobuf
Vendors & Products Protobuf
Protobuf protobuf

Thu, 09 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
Description 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.
Title protobufjs: Text Format string map parsing can mutate returned map object prototype
Weaknesses CWE-1321
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}


Subscriptions

Protobuf Protobuf
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T14:41:45.107Z

Reserved: 2026-07-07T15:41:53.607Z

Link: CVE-2026-59876

cve-icon Vulnrichment

Updated: 2026-07-09T14:41:40.700Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-08T15:31:11Z

Links: CVE-2026-59876 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T14:00:03Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes