PT-2026-108639
Published
2026-10-08
·
Updated
2026-10-08
Description by
CVSS 3.1
6.5
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L
Impact
Passing 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.Only the decoded object's prototype is affected; this does not modify
Object.prototype globally.Patches
Options are now merged with secure defaults without modifying the caller's object. Unsupported
protoAction values are rejected.Workarounds
Explicitly set
protoAction: 'error' whenever constructing a msgpack5 instance, and validate decoded values before use. Found an issue in the description? Have something to add? Feel free to write us 👾