Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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