CVE-2026-84368: hapijs joi Prototype Pollution
Vulnerability summary
CVE-2026-84368 is a low (CVSS 3.7) Prototype Pollution vulnerability in hapijs joi. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.5% of scored vulnerabilities.
Timeline
- 01-09-2026PublishedVulnerability first disclosed.
- 02-09-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · NpmEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
+0.13 pp
From 0.26% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard25 products
- gitlab-rails-ce-18.10All versions (No fix recorded)
- gitlab-rails-ce-18.7All versions (No fix recorded)
- gitlab-rails-ce-18.8All versions (No fix recorded)
- gitlab-rails-ce-18.9All versions (No fix recorded)
- gitlab-rails-ce-fips-18.10< 18.10.8-r8
Wolfi2 products
- opensearch-dashboards-3< 3.8.0-r5
- thingsboard-tb-js-executorAll versions (No fix recorded) | < 4.4-r3
@hapi1 product
- joi≥ 16.0.0, ≤ 17.1.1
Hapijs1 product
- joi≥ 16.0.0, ≤ 17.1.1 | ≥ 17.2.0, < 17.13.6 | ≥ 18.0.0, < 18.2.5
Npm1 product
- joi≥ 17.2.0, < 17.13.6 | ≥ 18.0.0, < 18.2.5
5 vendors · 30 products
References
8 links- github.com/hapijs/joiPACKAGE