CVE-2026-84367: joi: object().rename() with a template target can set the validated object's prototype
Vulnerability summary
CVE-2026-84367 is a low (CVSS 3.7) vulnerability in hapijs joi. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 20.4% of scored vulnerabilities.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 01-09-2026PublishedVulnerability first disclosed.
- 03-09-2026Last modifiedVulnerability information updated.
Description
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.
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.27%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
Decrease -0.12 pp
From 0.39% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard24 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
Hapijs1 product
- joi≥ 16.0.0, < 17.13.5 | ≥ 18.0.0, < 18.2.4
Npm1 product
- joi≥ 16.0.0, < 17.13.5 | ≥ 18.0.0, < 18.2.4
4 vendors · 28 products
References
10 links- github.com/hapijs/joiPACKAGE