Vulnerability library
Security checkOctober 08, 2026

msgpack5: Partial options disable prototype protection

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmmsgpack5

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the msgpack5 package to the latest compatible version. Followings are version details:

  • Affected version(s): < 6.1.0
  • Patched version(s): 6.1.0

References

Could your website be exposed too?

SmartScanner can check your website for msgpack5: Partial options disable prototype protection and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 08, 2026