// Security Advisory Triage

joi ReDoS in isoDate() validation patched in 17.13.7 and 18.2.6

GitHub advisories — npm · published 2026-09-30 12:04 UTC
ACTION NEEDED PATCH_NOW SECURITYAPI
WHAT CHANGEDGitHub published GHSA-6h2x-m376-mqjq on 2026-09-29, rating a regular-expression denial-of-service vulnerability in joi's `Joi.string().isoDate()` validator as high severity. Patched versions are 17.13.7 and 18.2.6.
WHY IT MATTERSServices validating user input with `isoDate()` can be forced into quadratic backtracking, causing CPU exhaustion and request timeouts. This is exploitable from any endpoint that accepts date strings through joi validation.
WHAT TO DOGrep your codebase for `.isoDate()` to confirm exposure, then update joi to 17.13.7 (if on 17.x) or 18.2.6 (if on 18.x). If you find usage and cannot update immediately, add length limits to date string inputs before validation.
Model-reported confidence 88% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-6h2x-m376-mqjq
+summary: joi: Quadratic regular-expression backtracking in `Joi.string().isoDate()`
+severity: high
+published_at: 2026-09-29T18:07:42Z
+cve_id:
+vulnerabilities[].package.name: joi, joi
+vulnerabilities[].first_patched_version: 17.13.7, 18.2.6
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningjoi is a standard validation library in Node.js services. ReDoS in isoDate() affects request handling.
signalsknown package in dependency trees · high severity rated · patched versions available · ReDoS vulnerability in validation logic · joi is widely used in Node.js services
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)