CVE-2026-92599 — Vulnerability in joi — CVE Details
joi: Quadratic regular-expression backtracking in `Joi.string().isoDate()`
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.58%). Schedule for your next planned update.
Does your project use an affected joi version?
Paste your package-lock.json to check it for CVE-2026-92599 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
Any application that validates a user-supplied string with Joi.string().isoDate() can be stalled by a single request. One of the regular expressions the rule runs over the input was unanchored, so a valid ISO date followed by a long run of fractional-second digits made the regex engine restart its search from every position in the string, costing time proportional to the square of the input length. 64 KB of digits costs about 1.4 s and 256 KB about 22 s.
Patches
Upgrade to version 17.13.7 or 18.2.6 depending on your current major version.
Workarounds
None except capping the length of the string before it reaches joi.
Advisory Timeline
- First published September 29, 2026 (58 days ago).
- Last revised October 5, 2026 — 6 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install joi@17.13.7
npm install joi@18.2.6
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1333
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/hapijs/joi/security/advisories/GHSA-6h2x-m376-mqjqWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-92599ADVISORY
- https://github.com/hapijs/joi/pull/3143WEB
- https://github.com/hapijs/joi/pull/3145WEB
- https://github.com/hapijs/joi/commit/115e7b58d5eaaecc5e9b7093d41899ad6fb053ecWEB
- https://github.com/hapijs/joi/commit/e70df424c367f2976db63b089504413744a21245WEB
- https://github.com/hapijs/joiPACKAGE
- https://www.vulncheck.com/advisories/joi-before-17.13.7-and-18.2.6-redos-via-isodateWEB
Frequently Asked Questions
- What is CVE-2026-92599?
- joi: Quadratic regular-expression backtracking in `Joi.string().isoDate()`. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-92599?
- CVE-2026-92599 affects joi. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-92599 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 41.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-118772HIGH
joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution
- CVE-2026-48038MEDIUM
joi has an uncaught RangeError on deeply nested input through recursive `link()` schemas
- CVE-2026-90771MEDIUM
joi messages compilation allows prototype replacement through __proto__ error codes
- CVE-2026-84368LOW
joi: Prototype pollution via a `__proto__` language key in custom messages
- CVE-2026-84367LOW
joi: object().rename() with a template target can set the validated object's prototype