// Security Advisory Triage

joi email validation with multiple: true allows quadratic-time DoS

GitHub advisories — npm · published 2026-11-01 06:05 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published CVE-2026-118772 on 30 October 2026, a high-severity denial-of-service vulnerability in joi's string().email({ multiple: true }) validator. The flaw causes quadratic-time splitting. Patched versions are joi 17.13.9 and 18.3.1; @hapi/joi has no patched version listed.
WHY IT MATTERSApplications using joi to validate email fields with the multiple option enabled can be forced into CPU exhaustion by crafted input, blocking request processing. joi is a widely-deployed validation library in Node.js dependency trees.
WHAT TO DOCheck package.json and lock files for joi, @hapi/joi, or transitive dependencies on either. If found and using string().email({ multiple: true }), update joi to 17.13.9 or 18.3.1. For @hapi/joi, no patch is listed; verify exposure and consider switching to patched joi or disabling the multiple option.
Model-reported confidence 85% (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-4528-x5fx-h6hg
+summary: joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service
+severity: high
+published_at: 2026-10-30T23:10:23Z
+cve_id: CVE-2026-118772
+vulnerabilities[].package.name: joi, @hapi/joi, joi
+vulnerabilities[].first_patched_version: 17.13.9, , 18.3.1
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 Node.js validation dependency. DoS via email validation affects services running this package.
signalsknown severity rating: high · denial of service vulnerability · joi is a widely-used validation library in Node.js dependency trees · patched versions available (17.13.9, 18.3.1) · new advisory entry with CVE assignment
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)