{"id":"CVE-2026-107301","aliases":["CVE-2026-107301","GHSA-8hq7-ggx2-cc6m"],"related":[],"kind":"vulnerability","state":"published","title":"msgpack5: Partial options disable prototype protection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nPassing an empty or partial options object disables the default `protoAction: 'error'` protection. A map containing a `__proto__` key can then replace the prototype of the decoded object, potentially changing inherited properties or causing unexpected behavior in downstream code.\n\nOnly the decoded object's prototype is affected; this does not modify `Object.prototype` globally.\n\n### Patches\n\nOptions are now merged with secure defaults without modifying the caller's object. Unsupported `protoAction` values are rejected.\n\n### Workarounds\n\nExplicitly set `protoAction: 'error'` whenever constructing a msgpack5 instance, and validate decoded values before use.","format":"markdown","source":"ghsa"}],"published":"2026-10-08T17:13:00.613Z","modified":"2026-10-14T01:17:05.583Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"< 6.1.0","status":"affected"}],"vendor":"mcollina","product":"msgpack5","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.1.0"}],"ecosystem":"npm","package":"msgpack5","purl":"pkg:npm/msgpack5","source":"ghsa"}],"references":[{"url":"https://github.com/mcollina/msgpack5/security/advisories/GHSA-8hq7-ggx2-cc6m","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mcollina/msgpack5/commit/20e82600ac9462e679c8a45e5723315f21e2c774","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mcollina/msgpack5/releases/tag/v6.1.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mcollina/msgpack5","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-14T01:02:40.915Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107301","url":"https://www.cve.org/CVERecord?id=CVE-2026-107301","licence":"CVE Terms of Use","modified":"2026-10-14T01:02:53.277Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8hq7-ggx2-cc6m","url":"https://github.com/advisories/GHSA-8hq7-ggx2-cc6m","licence":"CC-BY-4.0","modified":"2026-10-08T18:00:08.899Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107301","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107301","licence":"Public domain","modified":"2026-10-14T01:17:05.583Z"}],"updatedAt":"2026-11-25T22:59:43.191Z","epss":{"score":0.00366,"percentile":0.32484,"date":"2026-12-01T12:00:22.000Z"}}