CVE Database›Document archive›CVE-2026-90771

CVE-2026-90771

joi: joi: Prototype Pollution via custom messages

Loading…

Severity

Moderate

Red Hat Product Security

5.9

CVSS 3.1

Review impact separately from score.

Published · September 13, 2026

Updated · September 21, 2026

Description

A flaw was found in joi. This vulnerability, known as prototype pollution, exists in the messages compilation function. A remote attacker can exploit this by supplying specially crafted __proto__ keys in custom messages. This allows the attacker to manipulate object properties, which could lead to unexpected application behavior or crashes.

Statement

A flaw in joi permits prototype manipulation when attacker-controlled JSON or configuration containing proto is supplied to the .messages() or .prefs() APIs, potentially disrupting downstream application behavior.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Upgrade joi to 17.13.8, 18.2.9, or later. Avoid passing untrusted data to Joi message configuration until upgraded.

CVSS / CWE

CVSS 3.1 · 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

CWE-915 · Improperly Controlled Modification of Dynamically-Determined Object Attributes