PT-2026-48686 · Root+3 · @Rootio/Joi+1
CVE-2026-48038
·
Published
2026-06-11
·
Updated
2026-07-14
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
joi versions prior to 17.13.4
joi versions prior to 18.2.1
Description
A denial of service can occur in services that validate user-supplied JSON or object input using recursive
link() schemas. When the validate() function is called without a try/catch block in a request handler, deeply nested input can trigger an unhandled RangeError, which may crash the process. In cases where validateAsync() is used or validate() is wrapped in a try/catch block, the system produces a RangeError instead of a structured ValidationError, which complicates error handling.Recommendations
Update to version 17.13.4 or later.
Update to version 18.2.1 or later.
As a temporary workaround, wrap the validation process in a
try/catch block to prevent uncaught exceptions.Exploit
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
@Rootio/Joi
Joi