CVE-2026-35213 Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing
HighCVSS 8.7
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| content project content | < 6.0.1 | 6.0.1 | Fixed |
| hapi @hapi/content(npm) | < 6.0.1; <= 6.0.0 | 6.0.1 | Fixed |
| hapijs content | = < 6.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hapijs content | = < 6.0.1 | No fix listed |
| hapi @hapi/content(npm) | <= 6.0.0 | No fix listed |
| content project content | < 6.0.1 | 6.0.1 |
| hapi @hapi/content(npm) | < 6.0.1 | 6.0.1 |
References
- https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p vendor-advisory
- https://github.com/hapijs/content/pull/38 issue-tracking patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product