
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-35213 is a Regular Expression Denial of Service (ReDoS) vulnerability in the @hapi/content npm package affecting all versions through 6.0.0. Three regular expressions used to parse Content-Type and Content-Disposition HTTP headers contain patterns susceptible to catastrophic backtracking, allowing an unauthenticated remote attacker to render a Node.js process unresponsive with a single crafted HTTP request. The vulnerability was published on April 2, 2026, by maintainer Marsup, with the GitHub Advisory Database entry added on April 4, 2026. It carries a CVSS v4.0 base score of 8.7 (High) and a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, hapijs Advisory).
The root cause is classified as CWE-1333 (Inefficient Regular Expression Complexity), where three regex patterns within @hapi/content's HTTP header parsing logic exhibit exponential worst-case complexity (catastrophic backtracking) when evaluated against specially crafted input strings (GitHub Advisory). An attacker exploits this by sending a single HTTP request with a maliciously crafted Content-Type or Content-Disposition header value to any endpoint backed by the vulnerable library, triggering excessive CPU consumption in the Node.js event loop. No authentication, privileges, or user interaction are required — the attack is purely network-based with low complexity. The fix, merged in PR #38, tightened all three regular expressions to eliminate backtracking paths (hapijs PR #38).
Successful exploitation results in a complete denial of service for the affected Node.js process: the event loop becomes blocked by CPU-intensive regex backtracking, making the application unresponsive to all legitimate users. There is no impact on confidentiality or integrity — the vulnerability is purely an availability issue. Downstream applications using @hapi/content as a transitive dependency (e.g., via @hapi/hapi, @hapi/subtext, or @hapi/pez) are also affected, broadening the scope to any Node.js HTTP service in the dependency chain, including Kibana deployments (hapijs PR #38, GitHub Advisory).
No public proof-of-concept exploit code has been identified, and there is no evidence of in-the-wild exploitation at this time (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.25–0.415%, placing it in roughly the 62nd percentile for exploitation probability within 30 days (GitHub Advisory). Despite the low exploitation evidence, the zero-authentication requirement and trivial attack mechanism (a single HTTP request) make it straightforward to weaponize.
@hapi/hapi or other packages that depend on @hapi/content ≤ 6.0.0 (e.g., Kibana instances, custom hapi.js APIs). Tools like Shodan, Censys, or package dependency scanners can assist.Content-Type or Content-Disposition header value designed to trigger catastrophic backtracking in the vulnerable regex patterns — typically a long string with repeating characters that match the ambiguous portions of the regex (e.g., a deeply nested or repetitive parameter string).Content-Type or Content-Disposition header values (e.g., headers containing deeply repetitive parameter strings or unusual character sequences) targeting any application endpoint.The only remediation is to upgrade @hapi/content to version 6.0.1 or later, which tightens all three vulnerable regular expressions to eliminate catastrophic backtracking (GitHub Advisory, hapijs PR #38). There are no known configuration-based workarounds. For applications using @hapi/content as a transitive dependency, upgrading the parent package is sufficient — for example, upgrading @hapi/hapi to 21.4.8 or later cascades the fix through @hapi/subtext (≥ 8.1.2) and @hapi/pez (≥ 6.1.1) (hapijs PR #38). IBM has also released an advisory for affected QRadar Suite Software / Cloud Pak for Security products (IBM Advisory).
The Elastic/Kibana team responded promptly, merging a dependency bump (PR #264077) to upgrade @hapi/hapi from 21.4.4 to 21.4.8 to remediate the transitive exposure in Kibana's HTTP server layer (hapijs PR #38). IBM issued a security bulletin noting that QRadar Suite Software includes components affected by this vulnerability (IBM Advisory). Community coverage was limited to vulnerability database aggregators and automated CVE tracking feeds, with no significant independent researcher commentary or broad media coverage identified.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."