Skip to content
RedCVE

CVE-2026-92599Hapijs Joi regular expression denial of service (ReDoS)

hapijsPublished:

CVSS score

8.7

High

CVSS 4.0 from vulncheck.com

Exploit probability (EPSS)

0.58%

0.58% chance of exploitation in the next 30 days, higher than 48.7% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: disclosure@vulncheck.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running hapijs Joi and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Joi to 17.13.7, 18.2.6 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
hapijs Joi≥ 17.2.0, < 17.13.7 · ≥ 18.0.0, < 18.2.6

Weakness

  • CWE-1333 regular expression denial of service (ReDoS)

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-92599 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-92599?

CVE-2026-92599 has a CVSS 4.0 base score of 8.7 (high).

Which versions are affected?

Hapijs Joi (≥ 17.2.0, < 17.13.7; ≥ 18.0.0, < 18.2.6)

Is there a patch for CVE-2026-92599?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.