CVE-2026-90771

Summary

joi before versions 17.13.8 and 18.2.9 contains a prototype pollution vulnerability in the messages compilation function that accepts proto as an error code. Attackers can supply proto keys in custom messages to replace the returned object's prototype, breaking downstream code relying on Object.prototype methods.

Affected Software

VendorProductVersion RangeStatus
hapijsjoi16.0.0 < 17.13.8affected
hapijsjoi18.0.0 < 18.2.9affected

Weaknesses

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

References