Skip to main content

CVE-2026-92599 — Vulnerability in joi — CVE Details

HIGH

joi: Quadratic regular-expression backtracking in `Joi.string().isoDate()`

Published September 29, 2026Updated October 5, 2026Source: OSV

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.

Check my package-lock.json

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
Update joi to 17.13.7 or later
npm install joi@17.13.7
npm
Update joi to 18.2.6 or later
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).

PackageFixed In
joi npm · Affected: All versions17.13.7
joi npm · Affected: All versions18.2.6

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.58%
EPSS percentile: 41.7

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

GHSA-6h2x-m376-mqjq

Related CVEs

  • CVE-2026-83816
    HIGH

    CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

  • CVE-2026-118772
    HIGH

    joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service

  • CVE-2026-83817
    HIGH

    CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution

  • CVE-2026-48038
    MEDIUM

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

  • CVE-2026-90771
    MEDIUM

    joi messages compilation allows prototype replacement through __proto__ error codes

  • CVE-2026-84368
    LOW

    joi: Prototype pollution via a `__proto__` language key in custom messages

  • CVE-2026-84367
    LOW

    joi: object().rename() with a template target can set the validated object's prototype

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json