Denial of Service Vulnerability in Joi Schema Validator by Hapi
CVE-2026-48038

5.3MEDIUM

Key Information:

Vendor

Hapijs

Status
Vendor
CVE Published:
14 July 2026

What is CVE-2026-48038?

Joi, a schema description language and data validator for JavaScript, is susceptible to a denial of service due to untrapped exceptions in services validating user-supplied JSON or object input with recursive link() schemas. When the validate() function is invoked without appropriate try/catch error handling in a request handler, deeply nested input can cause an unhandled RangeError, leading to potential process crashes. This vulnerability has been addressed in Joi versions 17.13.4 and 18.2.1, which ensure that requests with problematic input are managed correctly to prevent application interruptions.

Affected Version(s)

joi < 17.13.4 < 17.13.4

joi >= 18.0.0, < 18.2.1 < 18.0.0, 18.2.1

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.