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

High 7.5 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-119202?

CVE-2026-119202 is a high-severity vulnerability in hapijs content, published on 29 Oct 2026.

Official description

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

Weakness: CWE-1333

Which versions are affected by CVE-2026-119202?

How do I fix CVE-2026-119202?

No fix has been published for CVE-2026-119202 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-119202 being exploited?

There is no known exploitation of CVE-2026-119202 in the wild and no public exploit code.

Sources

Is CVE-2026-119202 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free