PatchSiren cyber security CVE debrief
CVE-2026-35213 hapijs CVE debrief
CVE-2026-35213 is a Regular Expression Denial of Service (ReDoS) vulnerability in @hapi/content through version 6.0.0. The vulnerability is caused by three regular expressions used to parse Content-Type and Content-Disposition headers containing patterns susceptible to catastrophic backtracking. This issue has been fixed in version 6.0.1. Affected deployments should be reviewed for exposure and updated to version 6.0.1 or later. Compensating controls and monitoring should be considered for exposed systems.
- Vendor
- hapijs
- Product
- content
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-04-06
- Original CVE updated
- 2026-07-24
- Advisory published
- 2026-04-06
- Advisory updated
- 2026-07-24
Who should care
Developers and administrators using @hapi/content versions prior to 6.0.1 should be aware of this vulnerability and take steps to mitigate it. This includes reviewing and validating HTTP header values, implementing additional monitoring and logging, and updating to version 6.0.1 or later. Security teams and operators should also be aware of the potential impact on their systems and take steps to protect them.
Technical summary
The @hapi/content library through version 6.0.0 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to three regular expressions used for parsing Content-Type and Content-Disposition headers being susceptible to catastrophic backtracking. This can be exploited by providing crafted HTTP header values. The issue has been addressed in version 6.0.1. Developers should review and validate HTTP header values to prevent crafted inputs and implement additional monitoring and logging to detect potential ReDoS attacks.
Defensive priority
High
Recommended defensive actions
- Update @hapi/content to version 6.0.1 or later
- Review and validate HTTP header values to prevent crafted inputs
- Implement additional monitoring and logging to detect potential ReDoS attacks
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record was published on 2026-04-06T21:16:20.433Z and was last modified on 2026-07-24T21:10:00.143Z. The NVD entry is currently Analyzed. The @hapi/content library through version 6.0.0 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to three regular expressions used for parsing Content-Type and Content-Disposition headers being susceptible to catastrophic backtracking. This can be exploited by providing crafted HTTP header values. The issue has been addressed in version 6.0.1. Evidence limits suggest verifying HTTP header validation and Content-Type parsing.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-35213 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-35213
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-35213 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-35213
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/hapijs/content/pull/38
[email protected] - Issue Tracking, Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p
[email protected] - Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.