Skip to main content
← All vulnerabilities
CVE-2026-48038GHSA-Q7CG-457F-VX79

joi: Uncaught RangeError on deeply nested input through recursive `link()` schemas

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 17.13.4, 18.2.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • hapijs joi

    fixed in 17.13.4; From 18.0.0 · fixed in 18.2.1

  • joinpm

    From 18.0.0 · fixed in 18.2.1

  • joinpm

    fixed in 17.13.4

References 4

GitHub · hapijs/joi