Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2026-90771

joi before 17.13.8 and 18.2.9 Prototype Pollution via messages

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

hapijs joi

Default version status: unaffected

  • 16.0.0 to < 17.13.8affected
  • 18.0.0 to < 18.2.9affected
pkg:npm/joi

References