CVE-2026-92599: Quadratic regular-expression backtracking in `Joi.string().isoDate()`
Affects joiSource GCVE Database
Mentioned vulnerabilities
CVSS 7.5 High : upgrade to 18.2.6 soon.
Data as of 26 Oct 2026, 16:23 UTC
- Patch
- Available – fixed in 18.2.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWhat to do
Upgrade joi to 18.2.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmjoi | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Joi version 17.13.7 or later if using the 17.x series, or 18.2.6 or later if using the 18.x series. No other workarounds are effective except limiting the length of input strings before validation. Since patches are available, applying the official fix is the recommended mitigation.
Description
A vulnerability in the Joi validation library's isoDate string validation allows an attacker to cause a denial of service by sending a specially crafted string. The issue arises from a quadratic regular-expression backtracking problem that causes the validation to stall for a time proportional to the square of the input length. This can lead to significant application delays or stalls. Fixed versions are available in Joi 17.13.7 and 18.2.6.
References
- github.com/hapijs/joi/security/advisories/GHSA-6h2x-m376-mqjq (opens in a new tab)
- github.com/hapijs/joi/pull/3143 (opens in a new tab)
- github.com/hapijs/joi/pull/3145 (opens in a new tab)
- github.com/hapijs/joi/commit/115e7b58d5eaaecc5e9b7093d41899ad6fb053ec (opens in a new tab)
- github.com/hapijs/joi/commit/e70df424c367f2976db63b089504413744a21245 (opens in a new tab)
- github.com/hapijs/joi (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-92599 (opens in a new tab)
- vulncheck.com/advisories/joi-before-17.13.7-and-18.2.6-redos-via-isodate (opens in a new tab)