Read the docs
TI-2026-27366 Aliases CVE-2026-35213GHSA-jg4p-7fhp-p32p

Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing

Priority MEDIUM 44CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.

Summary

@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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00328 26th percentileScored 2026-11-07
Fix Fixed content (hapijs): 6.0.1@hapi/content (npm): 6.0.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
hapijscontentbefore 6.0.16.0.1Patch availableCNA
—@hapi/content (npm)before 6.0.16.0.1Patch availableGHSA-jg4p-7fhp-p32p
  • content Vendorhapijs Affected before 6.0.1 Fixed in 6.0.1 Patch available CNA
  • @hapi/content (npm) Vendor— Affected before 6.0.1 Fixed in 6.0.1 Patch available GHSA-jg4p-7fhp-p32p

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:content_project:content:*:*:*:*:*:node.js:*:*before 6.0.1VulnerableContent Project
  • cpe:2.3:a:content_project:content:*:*:*:*:*:node.js:*:* Versions before 6.0.1 Vulnerable ·Content Project

Remediation

  • Fix · CNA content (hapijs) Fixed in 6.0.1
  • Fix · GHSA-jg4p-7fhp-p32p @hapi/content (npm) Fixed in 6.0.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-35213
  2. 2026-10-03 Alias added: GHSA-jg4p-7fhp-p32p

References

  • TI-2026-82752 Quadratic-time parsing in @hapi/content allows denial of service CVSS 3.1HIGH 7.5
  • TI-2026-82716 Quadratic-time split in joi email rule allows denial of service CVSS 3.1HIGH 7.5
  • TI-2026-61678 joi before 17.13.8 and 18.2.9 Prototype Pollution via messages CVSS 4.0MEDIUM 6.3
  • TI-2018-02726 Prototype pollution in @hapi hoek node module CVSS 3.0HIGH 8.8
  • TI-2026-79747 Regular expression denial of service in @hapi/content disposition parsing CVSS 4.0HIGH 8.7
  • TI-2026-62455 Joi before 17.13.7 and 18.2.6 ReDoS via isoDate CVSS 4.0HIGH 8.7
See all 21 →

Sources