{"id":"CVE-2026-92599","published":"2026-09-16T21:47:03Z","modified":"2026-09-18T20:06:43Z","title":"Joi before 17.13.7 and 18.2.6 ReDoS via isoDate","vendor":"hapijs","product":"joi","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00582,"percentile":0.48707,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/hapijs/joi/security/advisories/GHSA-6h2x-m376-mqjq","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/joi-before-17.13.7-and-18.2.6-redos-via-isodate","tags":["third-party-advisory"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":9.74},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"hapijs","affectedVersions":[{"vendor":"hapijs","product":"joi","versions":[">= 17.2.0, < 17.13.7"]},{"vendor":"hapijs","product":"joi","versions":[">= 18.0.0, < 18.2.6"]}],"fixedVersions":[{"vendor":"hapijs","product":"joi","versions":["17.13.7"]},{"vendor":"hapijs","product":"joi","versions":["18.2.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-18T20:06:34.166545Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"joi","vulnerableRanges":[">=17.2.0, <17.13.7",">=18.0.0, <18.2.6"],"patched":["17.13.7","18.2.6"],"from":["GHSA-6h2x-m376-mqjq"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-81299","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hapijs-joi-cve-2026-92599","children":[{"from":"CVE-2026-92599","to":"CVE-2026-118772","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/types/string.js"],"commits":["https://github.com/hapijs/joi/commit/03dc1d909818503b06240dadc81e9227ed2649cf","https://github.com/hapijs/joi/commit/807858d7480f5075b0610817e3e44230890fb18e","https://github.com/hapijs/joi/commit/115e7b58d5eaaecc5e9b7093d41899ad6fb053ec","https://github.com/hapijs/joi/commit/e70df424c367f2976db63b089504413744a21245"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-48038","published":"2026-07-14","fixed":"18.2.1","kev":false},{"cve":"CVE-2026-84367","published":"2026-09-01","fixed":"18.2.4","kev":false},{"cve":"CVE-2026-84368","published":"2026-09-01","fixed":"18.2.5","kev":false,"link":{"from":"CVE-2026-84368","to":"CVE-2026-92599","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:joi","fromFixed":"17.13.6","toFixed":"17.13.7","daysApart":15},{"kind":"version-step","provenance":"source","package":"npm:joi","fromFixed":"18.2.5","toFixed":"18.2.6","daysApart":15}]}},{"cve":"CVE-2026-92599","published":"2026-09-16","fixed":"18.2.6","kev":false},{"cve":"CVE-2026-90771","published":"2026-09-13","fixed":"18.2.9","kev":false,"link":{"from":"CVE-2026-92599","to":"CVE-2026-90771","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:joi","fromFixed":"17.13.7","toFixed":"17.13.8","daysApart":-3},{"kind":"version-step","provenance":"source","package":"npm:joi","fromFixed":"18.2.6","toFixed":"18.2.9","daysApart":-3}]}},{"cve":"CVE-2026-118772","published":"2026-10-29","fixed":"18.3.1","kev":false}],"package":"npm:joi"}}