Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940f
- https://github.com/hapijs/content/releases/tag/v6.0.3
- https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv
FAQ
What is CVE-2026-119202?
CVE-2026-119202 is a vulnerability with a CVSS score of 7.5 (HIGH). @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 f...
How severe is CVE-2026-119202?
CVE-2026-119202 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-119202?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.