What’s Vulnerable › Vulnerabilities
CVE-2026-35213: Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-06 · updated 2026-07-24
- Weakness: CWE-1333
Description
@hapi/content provided HTTP Content-* headers parsing. All versions of @hapi/content through 6.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via crafted HTTP header values. Three regular expressions used to parse Content-Type and Content-Disposition headers contain patterns susceptible to catastrophic backtracking. This vulnerability is fixed in 6.0.1.
Affected products
- hapijs content: before 6.0.1 — fixed in 6.0.1
How to fix
Upgrade to a fixed version: hapijs content 6.0.1. Check the vendor advisory for mitigations.
References
- https://github.com/hapijs/content/pull/38
- https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p
Get alerted when CVE-2026-35213 or the next vulnerability affects your stack