CVE-2026-48038
published medium CVSS 3.1 · 5.3joi: Uncaught RangeError on deeply nested input through recursive `link()` schemas
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hapijs | — | joi< 17.13.4 · >= 18.0.0, < 18.2.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hapijs | joi | < 17.13.4 (affected)>= 18.0.0, < 18.2.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-248 CWE-248: Uncaught Exception
References
4Provider assertions
2GitHub_M · cna
joi: Uncaught RangeError on deeply nested input through recursive `link()` schemas
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7555d22bf093bed080c4bfc0368a80212cef64f2bc5842f7ee4cc0916a36ccec
- Ingested
- 23 Sep 2026, 09:17:17 UTC
- Source record
- Official CVE record