Home / hapijs / joi / CVE-2026-84367
CVE-2026-84367: is it exploited, and which versions of hapijs joi are affected and fixed?
CVE-2026-84367 is a prototype pollution vulnerability in hapijs joi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: joi from 16.0.0 before 17.13.5 and joi from 18.0.0 before 18.2.4 (GitHub advisory GHSA-gg4h-3hg2-grpc). Fixed in 17.13.5 and 18.2.4 (GitHub advisory GHSA-gg4h-3hg2-grpc). Severity: Low (3.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-84367?
joi: object().rename() with a template target can set the validated object's prototype
joi is a schema description language and data validator for JavaScript. From 16.0.0 until 17.13.5 and 18.2.4, joi's lib/types/keys.js internals.rename() implementation used by object().rename() permits a schema that renames keys with a regular-expression source and a Joi.expression() or Joi.x() target that interpolates the pattern's own match data, combined with { multiple: true }, to derive a target from an attacker-controlled input key. An attacker can send x-__proto__ with an object value, causing the target to render as __proto__ and set the prototype of the object returned by validate() instead of creating an own key. The global Object.prototype is not modified, so the effect is confined to the object returned by that validation call. Static-string targets and schemas using the default { multiple: false } are not affected. This issue is fixed in versions 17.13.5 and 18.2.4.
From the CVE record by GitHub_M, last updated September 3, 2026, 15:58 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hapijs | joi | >= 16.0.0, < 17.13.5 >= 18.0.0, < 18.2.4 |
As the CVE record by GitHub_M states it, last updated September 3, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | joi | >= 16.0.0, < 17.13.5 | 17.13.5 | GHSA-gg4h-3hg2-grpc |
| npm | joi | >= 18.0.0, < 18.2.4 | 18.2.4 | GHSA-gg4h-3hg2-grpc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 8, 2026. Summary: joi: object().rename() with a template target can set the validated object's prototype.
How severe is CVE-2026-84367?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-84367 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 3, 2026)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 20.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
Where are the vendor advisories and references?
- https://github.com/hapijs/joi/security/advisories/GHSA-gg4h-3hg2-grpc x_refsource_CONFIRM
- https://github.com/hapijs/joi/pull/3134 x_refsource_MISC
- https://github.com/hapijs/joi/pull/3135 x_refsource_MISC
- https://github.com/hapijs/joi/commit/162f367aa178d2e1ebec8dc1164e5fe16536ddf6 x_refsource_MISC
- https://github.com/hapijs/joi/commit/172ececa192feda532b743d77bc9d3e523d19b01 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 1, 2026
- Published
- September 1, 2026, 20:33 UTC
- CVE record updated
- September 3, 2026, 15:58 UTC by GitHub_M
- NVD
- Deferred, last modified September 9, 2026, 21:09 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect joi?
- Nov 4, 2026CVE-2026-122131 hapijs joi: prototype pollution
- Oct 29, 2026CVE-2026-118772 hapijs joi: regular expression denial of service (ReDoS)
- Sep 16, 2026CVE-2026-92599 hapijs joi: regular expression denial of service (ReDoS)
- Sep 13, 2026CVE-2026-90771 hapijs joi: prototype pollution
- Sep 1, 2026CVE-2026-84368 hapijs joi: prototype pollution
- Jul 14, 2026CVE-2026-48038 hapijs joi: uncaught exception (crash)
Questions about CVE-2026-84367
Is CVE-2026-84367 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of hapijs joi are affected by CVE-2026-84367?
joi from 16.0.0 before 17.13.5 and joi from 18.0.0 before 18.2.4, per the GitHub advisory GHSA-gg4h-3hg2-grpc. The tables above give every range the sources list.
Which version fixes CVE-2026-84367?
17.13.5 and 18.2.4, per the GitHub advisory GHSA-gg4h-3hg2-grpc. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-84367?
Low (3.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-84367?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.