Vulnerability in Hapijs Content
CVE-2026-119202
@hapi/content provides HTTP Content-* header parsing. From 3.0.6 until 6.0.3, Content.disposition() uses an unanchored parameter-name expression in a global regular-expression scan, causing repeated failed matching over the remaining input when a Content-Disposition parameter contains a long token without an equals sign. The resulting quadratic processing can block the Node.js event loop before route handlers or validation when @hapi/pez parses multipart/form-data headers, including unauthenticated hapi routes with payload.multipart enabled, and also affects applications that pass untrusted headers directly to Content.disposition(). This issue is fixed in @hapi/content version 6.0.3.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Hapijs Content — versions < 6.0.3
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-119202?
- CVE-2026-119202 is a high-severity vulnerability in Hapijs Content, classified under Inefficient Regular Expression Complexity. CVSS score: 7.5/10. Published 2026-10-29.
- How severe is CVE-2026-119202?
- High severity. CVSS v3 base score is 7.5 out of 10.