# CVE-2026-84368: joi: Prototype pollution via a \`\_\_proto\_\_\` language key in custom messages

- 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-02
- Aliases: CGA-fff5-jh2q-8m45, CGA-q6cq-q7j7-42cf, GHSA-6w3j-5fw6-r9vr, CGA-2jxr-8qxw-43vv, CGA-2mmc-rfwx-8cvf, CGA-2qp7-9x8q-34g2, CGA-2r59-8gmp-hv9p, CGA-36r2-v8r3-38p4, CGA-4799-j3gj-4wqr, CGA-5w3f-8w52-gpj4, CGA-668r-45wc-r5m6, CGA-67q2-7456-7m43, CGA-8hxr-88qw-wx9v, CGA-9373-cqx8-rv88, CGA-9h4g-54cr-3p7j, CGA-9j2f-wg6w-xhhv, CGA-9jvj-vq8j-8f5c, CGA-9p8v-776m-mwcf, CGA-9phq-phcc-p9wp, CGA-c3rf-vw4x-qqvg, CGA-f5cx-73qv-qw62, CGA-f5j9-c2rw-jvc2, CGA-f7p6-q7vr-68h3, CGA-f83x-hpmc-3557, CGA-fjq4-32xh-w7vf, CGA-g7h5-9v8h-82f2, CGA-g924-xvf2-v472, CGA-gc2f-f3hv-5qf8, CGA-h5g5-qmxv-c53m, CGA-hmhh-vvfc-9366, CGA-j9hw-fp57-gxrp, CGA-jcpf-m935-f4j7, CGA-jpm8-vjqp-3rpq, CGA-m237-2h88-q2cw, CGA-m3vp-vq6w-vj52, CGA-mc92-g2wm-xwhv, CGA-mqpx-6wrq-2qpv, CGA-mwvx-cf82-v23q, CGA-p2pr-8596-w8v3, CGA-p5fm-r5vx-4w2w, CGA-qh63-9ww9-cggm, CGA-qph6-5ffh-xrh2, CGA-rg66-5wmm-gg5p, CGA-rhjm-g55f-fh4c, CGA-vff7-c73m-g5g2, CGA-vh47-36v5-wx87, CGA-w4p3-hrq5-4r7r, CGA-w7g9-37m6-6pq9, CGA-xjm5-wr45-38qf, CGA-xqjv-9gm7-937j, CGA-xxxj-wqvm-q77v, CGA-jv56-25w3-53qc, CGA-m252-v3wg-rqph, CGA-mh6w-3h5w-w73c, CGA-mh82-27vc-hfgp
- Record: https://cvemate.com/vulnerability/CVE-2026-84368 · JSON: https://cvemate.com/vulnerability/CVE-2026-84368/json

## Description

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

## 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.256%, percentile 18.26%, 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 30)

- 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-6w3j-5fw6-r9vr>
- <https://github.com/hapijs/joi/pull/3138>
- <https://github.com/hapijs/joi/pull/3139>
- <https://github.com/hapijs/joi/commit/8d0b808f3e874d28f9078f61b7742290989afb36>
- <https://github.com/hapijs/joi/commit/90d07571923c90e3432a328fc041d1cda03d30fa>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84368.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-84368>
- <https://github.com/hapijs/joi>

---

Data as of 2026-12-05T07:09:02.628Z. 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
