Vulnerability
CVE-2026-92599
joi (npm package `joi`, hapi.js) versions >=17.2.0 <17.13.7 and >=18.0.0 <18.2.6 are vulnerable to regular expression denial of service in the `Joi.string().isoDate()` validation rule. One of the regular expressions the rule applies to the input is unanchored, so a valid ISO date followed by a long run of fractional-second digits causes the regex engine to restart its search from every position in the string, yielding time proportional to the square of the input length (about 1.4 s for 64 KB of digits and about 22 s for 256 KB). A remote attacker who can supply a string to an isoDate validation can stall the application with a single request. Fixed in 17.13.7 and 18.2.6; as a workaround, cap the length of the string before it reaches joi.
35 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-2j67-9j9h-8p3v
- CGA-2pj9-h4hm-4x3g
- CGA-36ph-7vxc-vf77
- CGA-4p95-m84m-h89c
- CGA-4wx9-w8xh-2r96
- CGA-5m93-q6mp-9hvm
- CGA-676f-6h9h-pf5x
- CGA-697x-6xq9-6v9w
- CGA-6j2p-m8r7-864h
- CGA-6p49-2fmf-fc2p
- CGA-72gf-pxq5-fff2
- CGA-856j-32w6-c3j2
- CGA-8f72-75f4-ffm6
- CGA-cjxw-x289-q5vm
- CGA-f4hm-f77v-xjrm
- CGA-gc5c-qwrm-5wfm
- CGA-gf86-frcr-j9pj
- CGA-gjff-hx9q-m8mx
- CGA-gjxf-87c2-4fxv
- CGA-gr6m-jmh9-5gc8
- CGA-jcww-h7jf-qg32
- CGA-jjfr-22q2-vr5x
- CGA-jq3p-3x4q-9j4p
- CGA-m425-2h3q-gxq6
- CGA-pq3c-8q9g-273j
- CGA-pv4c-5q9c-92hm
- CGA-qr2c-mmx5-qpqm
- CGA-v44x-9v99-p792
- CGA-w5hg-p9jr-rp7h
- CGA-x7hj-w2hj-5hg5
-
GHSA-6h2x-m376-mqjq
joi: Quadratic regular-expression backtracking in `Joi.string().isoDate()`
-
RHSA-2026:68778
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:68821
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:68926
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHVEX-CVE-2026-92599
joi: joi: Denial of Service via `isoDate` validation regular expression