CVE-2026-122131

Description

Joi 17.13.6 before 17.13.9 and 18.2.5 before 18.3.1 contains a prototype pollution vulnerability in lib/messages.js compile() and merge() that fails to reject a __proto__ language key. Attackers supplying untrusted message configuration via any().messages(), prefs, validate options or Joi.extend can replace the compiled messages prototype, altering or breaking validation error rendering and dependent logic.

Severity
LOW
CVSS v3
3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N · source cna
CVSS v4
6.3
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N · source cna
Exploit chance (EPSS)
0.330%
chance of exploitation in the next 30 days
higher than 26.5% of scored CVEs · 2026-11-18
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2026-11-05

Timeline

  1. 2026-09-08GitHub advisory published (GHSA-6w3j-5fw6-r9vr)57 days before publication
  2. 2026-11-04Published by the CNA20:36 UTC
  3. 2026-11-05CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-6w3j-5fw6-r9vr, affected packages:

PackageVulnerable versionsFixed in
npm @hapi/joifrom 16.0.0 through 17.1.1
npm joifrom 17.2.0 before 17.13.617.13.6
npm joifrom 18.0.0 before 18.2.518.2.5

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
hapijs joifrom 17.13.6 before 17.13.9fixed in 17.13.9from 18.2.5 before 18.3.1fixed in 18.3.117.13.918.3.1

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources