Description
msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, constructing msgpack5 with an empty or partial options object disables the default protoAction: 'error' protection. A decoded map containing a __proto__ key can then replace the decoded object's prototype, potentially changing inherited properties or downstream behavior, although Object.prototype is not modified globally. This issue is fixed in version 6.1.0.
Published: 2026-10-08
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Prototype Pollution
Action: Upgrade
AI Analysis

Impact

msgpack5 is a MessagePack implementation for Node.js and browsers. The library had a flaw where initializing the decoder with an empty or partially specified options object disables the default prototype-protection guard that rejects payload fragments containing a '__proto__' key. Consequently, an attacker can provide a crafted MessagePack payload that modifies the prototype chain of the decoded object, potentially altering inherited properties and affecting downstream logic. This vulnerability maps to CWE-1321: Prototype Pollution.

Affected Systems

Affected product is msgpack5 v6.0.x and earlier (up to 6.0.999). The fix is incorporated in version 6.1.0 and later. The risk applies to Node.js and browser deployments that employ msgpack5 via the mcollina/mcollina repository.

Risk and Exploitability

The CVSS score is 6.5, indicating medium severity. No EPSS score is reported, so the current exploitation probability is unknown. It is not listed in the CISA KEV catalog. If an application creates a msgpack5 instance with an empty or missing options object, an attacker who can supply a crafted payload can influence prototype inheritance, possibly leading to undesired logic or privileged actions depending on downstream use. The primary risk mitigated by applying the 6.1.0 patch or ensuring prototypes are protected.

Generated by OpenCVE AI on October 8, 2026 at 18:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install msgpack5 version 6.1.0 or newer.
  • Ensure all msgpack5 constructors are called with a non-empty options object that preserves the default protoAction 'error' protection.
  • Audit code for any instances where msgpack5 is instantiated with empty or missing options and update them to use the safe defaults.

Generated by OpenCVE AI on October 8, 2026 at 18:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8hq7-ggx2-cc6m msgpack5: Partial options disable prototype protection
History

Fri, 09 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Mcollina
Mcollina msgpack5
Vendors & Products Mcollina
Mcollina msgpack5

Thu, 08 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Description msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, constructing msgpack5 with an empty or partial options object disables the default protoAction: 'error' protection. A decoded map containing a __proto__ key can then replace the decoded object's prototype, potentially changing inherited properties or downstream behavior, although Object.prototype is not modified globally. This issue is fixed in version 6.1.0.
Title msgpack5: Partial options disable prototype protection
Weaknesses CWE-1321
References
Metrics cvssV3_1

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


Subscriptions

Mcollina Msgpack5
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-08T17:13:00.613Z

Reserved: 2026-10-07T15:53:23.587Z

Link: CVE-2026-107301

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-08T17:17:16.143

Modified: 2026-10-08T20:48:36.970

Link: CVE-2026-107301

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T08:04:08Z

Weaknesses
  • CWE-1321

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