Back to overview

CVE-2026-48038

MEDIUM
5.3
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-48038
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-05-20 18:15 UTC
Published
2026-07-14 19:24 UTC
Last updated
2026-07-15 13:27 UTC
Primary CWE
CWE-248
CWE-248: Uncaught Exception
Vendor / Product
hapijs / joi
Sources
cve.org  ·  NVD

Severity & Metrics

5.3 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
SSVC — CISA Coordinator
Exploitation
none
Automatable
yes
Tech. Impact
partial
Affected products (1)
VendorProductPlatformVersions
hapijs joi < 17.13.4, >= 18.0.0, < 18.2.1
Weakness (CWE)
CWESourceDescription
CWE-248 cna CWE-248: Uncaught Exception
CVSS scores (1)
ScoreSeverityVersionSourceVector
5.3 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References (4)
Back to overview