CVE-2026-48038: Hapijs Joi
Medium severity, CVSS 5.3. EPSS: 0.5% chance of exploitation in the next 30 days.
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.
Affected products
- Hapijs Joi: before 17.13.4 (fixed in 17.13.4); from 18.0.0, before 18.2.1 (fixed in 18.2.1)
Published 2026-07-14. Last modified 2026-07-15.