Security mailing lists by PureSourceCode

CVE-2026-48038

MEDIUM 5.3CVSS 3.1

joi has an uncaught RangeError on deeply nested input through recursive `link()` schemas

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
14 Jul 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-248CWE-400
Also known as
GHSA-q7cg-457f-vx79
Sources
NVDJSONOSV GHSA-q7cg-457f-vx79JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm joi >= 18.0.0, < 18.2.1 18.2.1
OSV npm joi < 17.13.4 17.13.4

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 14 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.