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.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L |
| Provided by | CNA |
Weaknesses
- CWE-1321 — CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mcollina | msgpack5 | < 6.1.0 [affected] |
References
- https://github.com/mcollina/msgpack5/security/advisories/GHSA-8hq7-ggx2-cc6m (x_refsource_CONFIRM)
- https://github.com/mcollina/msgpack5/commit/20e82600ac9462e679c8a45e5723315f21e2c774 (x_refsource_MISC)
- https://github.com/mcollina/msgpack5/releases/tag/v6.1.0 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 09 Oct 2026 06:36 UTC.