Skip to content
Heist/ feed
Back to feed
High

Joi before 17.13.7 and 18.2.6 ReDoS via isoDate

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-92599
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 06:04 UTC · Revision 1

Source evidence

Joi before 17.13.7 and 18.2.6 ReDoS via isoDate

core-osv · Original source

Published 16 Sept 2026, 21:47 UTC

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.

osv:CVE-2026-92599
Complete source record
{
  "id": "a51f74290d30b746b61984dec81bfdfd2dfc300c6768e608830ab528d2ece237",
  "url": "https://osv.dev/vulnerability/CVE-2026-92599",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Joi before 17.13.7 and 18.2.6 ReDoS via isoDate",
    "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 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.",
    "evidence": "osv:CVE-2026-92599",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-92599",
      "aliases": [
        "CVE-2026-92599",
        "GHSA-6h2x-m376-mqjq"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hapijs/joi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "755f14b51a627f760525ac47ff21eb541116eb83"
                },
                {
                  "fixed": "ed9d7cdd11ef5f7751fd46886f38dc605c9c3995"
                },
                {
                  "introduced": "55b0096347c8bd963a9fc04060985344bb69f9ad"
                },
                {
                  "fixed": "a4361e7a6c09fa37b5a7d2422c55ec852e821e72"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "17.2.0"
                      },
                      {
                        "fixed": "17.13.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "18.0.0"
                      },
                      {
                        "fixed": "18.2.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v17.13.6",
            "v18.2.5",
            "v17.13.5",
            "v18.2.4",
            "v17.13.4",
            "v18.2.3",
            "v18.2.2",
            "v17.13.3",
            "v18.2.1",
            "v18.2.0",
            "v18.1.2",
            "v18.1.1",
            "v18.1.0",
            "v18.0.2",
            "v18.0.1",
            "v18.0.0",
            "v17.13.2",
            "v17.13.1",
            "v17.13.0",
            "v17.12.3",
            "v17.12.2",
            "v17.12.1",
            "v17.12.0",
            "v17.11.1",
            "v17.11.0",
            "v17.10.2",
            "v17.10.1",
            "v17.10.0",
            "v17.9.2",
            "v17.9.1",
            "v17.9.0",
            "v17.8.4",
            "v17.8.3",
            "v17.8.2",
            "v17.8.1",
            "v17.8.0",
            "v17.7.1",
            "v17.7.0",
            "v17.6.4",
            "v17.6.3",
            "v17.6.2",
            "v17.6.1",
            "v17.6.0",
            "v17.5.0",
            "v17.4.3",
            "v17.4.2",
            "v17.4.1",
            "v17.4.0",
            "v17.3.0",
            "v17.2.1",
            "v17.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92599.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.058662165Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92599.json",
        "https://github.com/hapijs/joi/security/advisories/GHSA-6h2x-m376-mqjq",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-92599",
        "https://www.vulncheck.com/advisories/joi-before-17.13.7-and-18.2.6-redos-via-isodate"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92599.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-92599",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510944,
  "published_at": "2026-09-16T21:47:03.073+00:00"
}