---
id: CVE-2026-92599
title: >-
  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
summary: >-
  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 t…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-1333
vendor: hapijs
product: joi
affected:
  - joi >= 17.2.0 < 17.13.7
  - joi >= 18.0.0 < 18.2.6
published: '2026-09-16'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T20:25:55.870'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92599'
references:
  - url: 'https://github.com/hapijs/joi/security/advisories/GHSA-6h2x-m376-mqjq'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/joi-before-17.13.7-and-18.2.6-redos-via-isodate
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92599.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-92599'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2538354'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-92599'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92599'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68821'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68926'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68778'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00582
epssPercentile: 0.45389
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-18T20:06:34.166545Z'
ingestedAt: '2026-09-16T22:06:50.926Z'
patched:
  - hardened_images
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:68821** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-18 · [advisory](https://access.redhat.com/errata/RHSA-2026:68821)
- **RHSA-2026:68926** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-18 · [advisory](https://access.redhat.com/errata/RHSA-2026:68926)
- **RHSA-2026:68778** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68778)
- **Red Hat VEX** · Important · affected: Gatekeeper 3, Migration Toolkit for Containers, Red Hat Data Grid 8, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift AI (RHOAI), … · no fix planned: Gatekeeper 3, Migration Toolkit for Containers, Red Hat Data Grid 8, Red Hat Enterprise Linux 8, … · updated 2026-09-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92599.json)
