# CVE-2026-84367: joi: object().rename() with a template target can set the validated object's prototype

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-01 · Modified: 2026-09-03
- Aliases: CGA-6q37-p4vc-hgg6, CGA-jjq8-r62h-9mqq, GHSA-gg4h-3hg2-grpc, CGA-2p9v-35q4-xr7r, CGA-373m-fvgc-4p76, CGA-3985-qqm2-r54c, CGA-3g23-7r5p-jrqw, CGA-3m6h-449g-x6mg, CGA-3x55-fqxh-9mm6, CGA-4767-98c3-w8g4, CGA-4769-c76p-3f66, CGA-49w7-5g27-cfv9, CGA-5293-qvwx-vm8j, CGA-533g-w697-fqw2, CGA-5mwf-v9rh-47qf, CGA-5qx8-g72p-j4wx, CGA-6hrv-q24c-7xw2, CGA-6mmq-3wgg-wg59, CGA-6qpw-85x4-78gh, CGA-7536-fhmj-wcw2, CGA-7hhv-7h7q-rhv8, CGA-7hpm-c9mp-7qjc, CGA-7jc2-7mwg-9wj4, CGA-7q9g-g538-gjhx, CGA-7r4q-ccv5-xxgg, CGA-7v34-2xxh-44m6, CGA-7w9j-96p9-hh86, CGA-9vm5-x84h-wg5m, CGA-cqrq-mc5v-rg97, CGA-cw5r-wxxf-7c8g, CGA-f487-r24x-f4pc, CGA-ff3j-qh7w-ggwc, CGA-gh57-8hh8-cv35, CGA-gxhw-q7f7-8jgw, CGA-jmpw-pqj3-wg4j, CGA-mjfp-qr32-8p7j, CGA-p3qf-8j2f-wjwv, CGA-p549-pg67-q24c, CGA-p95g-pmg6-89hm, CGA-pj52-gjjp-9wrq, CGA-pxpj-m4rw-fp5v, CGA-q5m2-3rpf-5m9r, CGA-q8cw-9vvg-vcqf, CGA-qcjf-wm6c-hcf9, CGA-r9wm-579g-qvvw, CGA-rg94-wgqg-8hmw, CGA-rq5r-8h76-r973, CGA-wmjh-mmqj-v3px, CGA-wrfv-v923-hwvr, CGA-5gv4-9994-2hjx, CGA-5xhp-wff7-x4gf, CGA-76xw-p9wr-pfm6, CGA-cpxc-jwfp-wh69
- Record: https://cvemate.com/vulnerability/CVE-2026-84367 · JSON: https://cvemate.com/vulnerability/CVE-2026-84367/json

## Description

```text
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.
```

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.27%, percentile 20.476%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.8-r8
- chainguard gitlab-rails-ce-fips-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.9 (Chainguard): \< 18.9.8-r8
- chainguard gitlab-rails-ce-fips-19.0 (Chainguard): \< 19.0.9-r1
- chainguard kibana-8.19 (Chainguard): \< 8.19.21-r5
- chainguard kibana-8.19-bitnami (Chainguard): \< 8.19.21-r5
- chainguard kibana-8.19-iamguarded (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.3 (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.3-iamguarded (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.4 (Chainguard): \< 9.4.6-r3
- chainguard kibana-9.4-iamguarded (Chainguard): \< 9.4.6-r3
- chainguard kibana-9.5 (Chainguard): \< 9.5.3-r5
- chainguard kibana-9.5-iamguarded (Chainguard): All versions (No fix recorded)
- chainguard opensearch-dashboards-3 (Chainguard): \< 3.8.0-r5
- chainguard opensearch-dashboards-3-fips (Chainguard): \< 3.8.0-r3

## References

- <https://github.com/hapijs/joi/security/advisories/GHSA-gg4h-3hg2-grpc>
- <https://github.com/hapijs/joi/pull/3134>
- <https://github.com/hapijs/joi/pull/3135>
- <https://github.com/hapijs/joi/commit/162f367aa178d2e1ebec8dc1164e5fe16536ddf6>
- <https://github.com/hapijs/joi/commit/172ececa192feda532b743d77bc9d3e523d19b01>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84367.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-84367>
- <https://github.com/hapijs/joi>
- <https://github.com/hapijs/joi/releases/tag/v17.13.5>
- <https://github.com/hapijs/joi/releases/tag/v18.2.4>

---

Data as of 2026-12-05T06:50:40.750Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
