Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/hapijs/joi/commit/97bd51de94d595a2d8949eb3bec0dbdd2f8a7a74
- https://github.com/hapijs/joi/commit/fc146a628ab9cc250854407722d9f8738c9548e7
- https://github.com/hapijs/joi/pull/3113
- https://github.com/hapijs/joi/security/advisories/GHSA-q7cg-457f-vx79
FAQ
What is CVE-2026-48038?
CVE-2026-48038 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 ...
How severe is CVE-2026-48038?
CVE-2026-48038 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-48038?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.