# CVE-2026-48038: joi: Uncaught RangeError on deeply nested input through recursive \`link()\` schemas

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-14 · Modified: 2026-07-15
- Aliases: CGA-2q43-4793-pqf2, CGA-3224-cjp8-mh33, CGA-327c-qfv8-f62v, CGA-5286-86qh-gj92, CGA-5f28-gc8x-9q3x, CGA-5rh5-87cr-qwpv, CGA-6g6x-w6jv-p8xh, CGA-6pph-8g5p-vwcm, CGA-cmq2-2fm8-xxww, CGA-cr2m-4fj2-rmqg, CGA-j6mj-jj3m-j7pv, CGA-mf4m-8gm9-xfxf, CGA-p8gx-g78m-vff2, CGA-pjg9-hh64-jwqh, CGA-ppvg-w568-h2wr, CGA-q386-2pv3-vq6j, CGA-rgv4-8w3q-pf9v, CGA-v8r5-r585-pjgg, CGA-vg49-6v7r-c34p, CGA-wf6q-p6g7-xv6h, CGA-wpvg-9vx6-hrjp, CGA-xrm2-539q-ggf4, GHSA-q7cg-457f-vx79, CGA-226g-633p-q9mw, CGA-2cqc-6qrp-g8c7, CGA-34rp-5q3x-p2j7, CGA-38pv-wpg4-g8wv, CGA-392w-2vw7-6p6f, CGA-39hf-hf4m-jxq9, CGA-3rpp-2p2c-g7jf, CGA-3v53-r2cf-3fq7, CGA-42hh-28mf-mq99, CGA-4pj5-gw7w-m3rh, CGA-55gr-rw8c-j49g, CGA-58vf-cfpw-fp4p, CGA-633r-g97w-j5hv, CGA-69vq-8jcp-7hqx, CGA-6cqm-h6v6-4jrp, CGA-6h98-5cm8-xwr2, CGA-6j9r-phw3-mgrq, CGA-6mmp-953w-922j, CGA-6v3j-f4m2-48r4, CGA-723h-gwfg-x92q, CGA-73gw-f9j3-3q23, CGA-7547-m6q3-fh4h, CGA-786f-g4mr-xwgx, CGA-7mr8-rppg-454h, CGA-7qjm-p5gp-8mjr, CGA-7vw7-6xch-wmvm, CGA-936r-q5fq-r727, CGA-9c6h-4fx9-x8q5, CGA-9hc6-xpfc-8fc7, CGA-c2h9-mh68-v4x4, CGA-c759-hgm5-m839, CGA-c9r9-jw3x-cwqg, CGA-cj5h-5r4v-g62f, CGA-cr56-mh4q-w6xw, CGA-crj7-99p2-m593, CGA-f99c-jj5r-f8cp, CGA-fgf3-m5qg-wwpg, CGA-fqm7-p8jx-g5jw, CGA-ghvj-pr5r-3992, CGA-h848-35m7-8wvg, CGA-h8hf-48w3-gj58, CGA-hpp9-w35f-c7gq, CGA-j243-8qgf-qgqg, CGA-jg74-gcjr-pf4q, CGA-jj3g-x27r-4wrr, CGA-jm6g-rjr2-pwfq, CGA-jvqj-f628-g3xp, CGA-m7qc-w62m-44qr, CGA-mmpf-h65f-68mr, CGA-p2fx-w4j8-mpgg, CGA-p5h8-m87v-5h48, CGA-p78g-3qg7-r8xc, CGA-p8jx-5vhm-2rf7, CGA-pv3m-jmhg-j5hp, CGA-px5c-65mh-mppm, CGA-pxgp-5jrq-vhhf, CGA-q5cm-c65p-7j2h, CGA-qwjq-554w-gf8r, CGA-r4m4-fw3g-mvpj, CGA-rfw4-mpx3-jx4r, CGA-rfx8-rw5x-q35q, CGA-rg8q-x5r7-mfv6, CGA-rqrp-4f7w-c5j5, CGA-v47m-h92g-2m2c, CGA-v8wm-wqmx-fp46, CGA-vgw5-34cg-fmm8, CGA-vppg-vp3q-j3h4, CGA-vqc7-6v5f-ccm8, CGA-vwgx-6gff-j9hx, CGA-vwr2-485r-w2v5, CGA-vx2x-vhrq-jpw6, CGA-w454-cf93-3f4m, CGA-w45w-88mh-35j2, CGA-wc2m-fx8c-p5v9, CGA-wg4x-p76f-8qx6, CGA-wp37-xj9f-hx58, CGA-x2gq-5v55-m8gx, CGA-x64f-ffh5-58q3, CGA-x7gc-xm9w-cr9m, CGA-x7w6-qq4j-7wgm, CGA-xj9j-62f7-4q68, CGA-xqc2-9cp3-67mr, CGA-xr7j-mqrm-82j3, CGA-xxf3-j6f3-jcvj, CGA-839g-p9r4-rpcc, CGA-8c2r-m5qx-hjrf, CGA-hf4w-g3p6-xf9p, CGA-wc83-pjvg-3g3p
- Record: https://cvemate.com/vulnerability/CVE-2026-48038 · JSON: https://cvemate.com/vulnerability/CVE-2026-48038/json

## Description

```text
joi is a schema description language and data validator for JavaScript. Prior to 17.13.4 and 18.2.1, denial of service is possible via an untrapped exception in services validating user-supplied JSON or object input with recursive link() schemas. When validate() is called without try/catch in a request handler, deeply nested input can trigger an unhandled RangeError and potentially crash the process; lower-impact paths using validateAsync() or try/catch produce a RangeError instead of a structured ValidationError. This issue is fixed in versions 17.13.4 and 18.2.1.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.302%, percentile 24.61%, 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 65)

- chainguard arangodb-3.11 (Chainguard): All versions (No fix recorded)
- chainguard arangodb-3.12 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): \< 18.11.6-r7
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (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-19.0 (Chainguard): \< 19.0.3-r1
- chainguard gitlab-rails-ce-19.1 (Chainguard): \< 19.1.7-r6
- chainguard gitlab-rails-ce-19.2 (Chainguard): \< 19.2.5-r2
- chainguard gitlab-rails-ce-19.3 (Chainguard): \< 19.3.1-r6
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.8-r8
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): \< 18.11.7-r1
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): All versions (No fix recorded)
- 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

## References

- <https://github.com/hapijs/joi/security/advisories/GHSA-q7cg-457f-vx79>
- <https://github.com/hapijs/joi/pull/3113>
- <https://github.com/hapijs/joi/commit/97bd51de94d595a2d8949eb3bec0dbdd2f8a7a74>
- <https://github.com/hapijs/joi/commit/fc146a628ab9cc250854407722d9f8738c9548e7>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48038.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48038>
- <https://github.com/hapijs/joi/commit/2392713d3e9dd91ba752ac0c96e0eaf3d24b9a11>
- <https://github.com/hapijs/joi>

---

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