SCA: security update for @hapi/joi, joi (GHSA-6w3j-5fw6-r9vr)

low Tenable Cloud Security Plugin ID 496773

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- joi is a schema description language and data validator for JavaScript. From 16.0.0 until 17.13.6 and
18.2.5, the @hapi/joi package through 17.1.1 and the successor joi package contain prototype pollution in
lib/messages.js, where exports.compile() and exports.merge() reuse inherited objects for attacker-
controlled language keys supplied through messages(), message(), prefs({ messages }), Joi.extend({
messages }), or rule({ message }). A language key named __proto__ writes properties onto Object.prototype,
and constructor writes to the Object function's static properties. A consuming application that gates on
the presence of an inherited property can take the wrong branch for every inspected object. The flaw is
not reachable from data that joi validates and requires an application to feed untrusted input directly
into schema-construction configuration. This issue is fixed in joi versions 17.13.6 and 18.2.5; no fixed
@hapi/joi version is available. (CVE-2026-84368)

Solution

Update the joi library and its related packages to version 17.13.6 or later.

See Also

https://github.com/advisories/GHSA-6w3j-5fw6-r9vr

Plugin Details

Severity: Low

ID: 496773

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Low

Base Score: 2.6

Temporal Score: 1.9

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2026-84368

CVSS v3

Risk Factor: Low

Base Score: 3.7

Temporal Score: 3.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/8/2026

Vulnerability Publication Date: 9/1/2026

Reference Information

CVE: CVE-2026-84368