CVE-2026-115728: @hapi/content 6.0.1 before 6.0.3 ReDoS via Content.disposition() Parameter Parsing
@hapi/content from 6.0.1 before 6.0.3 contains a regular expression denial of service vulnerability in Content.disposition() caused by an incomplete fix for CVE-2026-35213. Unauthenticated remote attackers can send multipart uploads with a long Content-Disposition parameter lacking an equals sign, triggering quadratic backtracking that blocks the event loop.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
@hapi/contentto a version that resolves this vulnerability.Fixed in 6.0.3
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using @hapi/content version 6.0.1 or 6.0.2 are affected where attacker-controlled multipart uploads reach Content.disposition(). Version 6.0.3 is outside the affected range.
What does an attacker need to exploit it?
No authentication or user interaction is required. An attacker needs to send a multipart upload containing a long Content-Disposition parameter without an equals sign.
What is the practical impact of a successful attack?
The crafted parameter triggers quadratic regular-expression backtracking, blocking the Node.js event loop. This can cause a denial of service.