CVE-2026-119202

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
Product@hapi/content
PublishedOct 29, 2026
First seenNov 4, 2026
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • @hapi/content6.0.3 or later

Affected products

ProductAffected versionsFixed in
@hapi/contentnpmv ≤ 6.0.26.0.3
contentnpm3.0.6 ≤ v ≤ 4.0.6—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.