Vulnerability in Hapijs Joi

CVE-2026-48038

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

EPSS exploit prediction

EPSS: 0.005 (42.8th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-48038: held from 0.005 to 0.005.

EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000

Affected products

  • Hapijs Joi — versions < 17.13.4, >= 18.0.0, < 18.2.1

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-48038?
CVE-2026-48038 is a medium-severity vulnerability in Hapijs Joi, classified under CWE-248. CVSS score: 5.3/10. Published 2026-07-14.
How severe is CVE-2026-48038?
Medium severity. CVSS v3 base score is 5.3 out of 10.