CVE-2026-119202

GHSA-8494-f6mr-cjpv · published 29 Oct 2026 · updated 3 Nov 2026

@hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in @hapi/content 6.0.3.

@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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
hapijs<6.0.3
npm: @hapi/content<=6.0.26.0.3
npm: content>=3.0.6 <=4.0.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-119202 severity on Zeptric[![CVE-2026-119202](https://zeptric.io/badge/cve/CVE-2026-119202.svg)](https://zeptric.io/cve/CVE-2026-119202)