{"id":"CVE-2026-35213","aliases":["CLSA-2026-1789069337","EUVD-2026-19477","GHSA-jg4p-7fhp-p32p","ROOT-APP-NPM-CVE-2026-35213"],"status":"published","title":"Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing","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.","severity":{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00328,"percentile":0.26234,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333"],"published":"2026-04-04T04:23:03Z","modified":"2026-10-30T19:46:02Z","fixes":[{"ecosystem":"npm","package":"@hapi/content","fixed_in":["6.0.1"],"sources":["ghsa"]},{"ecosystem":"Root:npm","package":"@rootio/hapi__content","fixed_in":["5.0.2-root.io.1","6.0.0-root.io.1","6.0.0-root.io.2","5.0.2-root.io.2","6.0.0-root.io.3"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@hapi/content","fixed_in":["6.0.0-aikido.2","5.0.2-aikido.2","6.0.0-aikido.3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@hapi/content","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.0.0"},{"fixed":"6.0.1"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"@hapi/content","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.2-tuxcare.0"},{"fixed":"5.0.2-tuxcare.1"}]}],"versions":["5.0.2"],"bundled":2},{"source":"osv","ecosystem":"npm","package":"@hapi/content","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.0.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/hapi__content","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.2-root.io.1"},{"fixed":"6.0.0-root.io.1"},{"fixed":"6.0.0-root.io.2"},{"fixed":"5.0.2-root.io.2"},{"fixed":"6.0.0-root.io.3"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@hapi/content","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.0-aikido.2"},{"fixed":"5.0.2-aikido.2"},{"fixed":"6.0.0-aikido.3"}]}]}],"products":[{"vendor":"content_project","product":"content"},{"vendor":"hapijs","product":"content"}],"references":[{"url":"https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/hapijs/content/pull/38","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35213","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jg4p-7fhp-p32p"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115728.json","tags":["advisory"]},{"url":"https://github.com/hapijs/content/tree/v6.0.3","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115728","tags":["advisory"]},{"url":"https://www.vulncheck.com/advisories/hapi-content-6.0.1-before-6.0.3-redos-via-content-disposition-parameter-parsing","tags":["advisory"]},{"url":"https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd","tags":["fix"]},{"url":"https://github.com/hapijs/content/pull/42","tags":["fix"]},{"url":"https://github.com/hapijs/content","tags":["package"]},{"url":"https://github.com/hapijs/content/blob/v6.0.2/lib/index.js#L96","tags":["article"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35213.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-35213","title":"Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing","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.","status":"published","published":"2026-04-06T20:08:54.811Z","modified":"2026-06-23T15:51:14.16Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:20:05.15083Z"}],"euvd":[{"id":"EUVD-2026-19477","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.","status":"published","published":"2026-04-06T20:08:54Z","modified":"2026-06-23T15:51:14Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T18:20:32.768333Z"}],"ghsa":[{"id":"GHSA-jg4p-7fhp-p32p","title":"@hapi/content: Regular Expression Denial of Service (ReDoS) in HTTP header parsing","description":"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 has been fixed in v6.0.1.\n\n### Impact\n\nDenial of Service. An unauthenticated remote attacker can cause a Node.js process to become unresponsive by sending a single HTTP request with a maliciously crafted header value.\n\n### Patches\n\nFixed by tightening all three regular expressions to eliminate backtracking.\n\n### Workarounds\n\nThere are no known workarounds. Upgrade to the patched version.","status":"published","published":"2026-04-04T04:23:03Z","modified":"2026-04-24T13:43:16Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:39:56.453138Z"}],"nvd":[{"id":"CVE-2026-35213","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.","status":"published","published":"2026-04-06T21:16:20.433Z","modified":"2026-07-24T21:10:00.143Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:12:13.1424Z"}],"osv":[{"id":"CVE-2026-115728","title":"@hapi/content 6.0.1 before 6.0.3 ReDoS via Content.disposition() Parameter Parsing","description":"@hapi/content from 6.0.1 before 6.0.3 contains a regular expression denial of service vulnerability in Content.disposition() caused by an incomplete fix for CVE-2026-35213. Unauthenticated remote attackers can send multipart uploads with a long Content-Disposition parameter lacking an equals sign, triggering quadratic backtracking that blocks the event loop.","status":"published","published":"2026-10-23T12:55:08.425Z","modified":"2026-10-28T02:30:54.930865168Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:44:56.675758Z"},{"id":"CVE-2026-35213","title":"Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing","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.","status":"published","published":"2026-04-06T20:08:54.811Z","modified":"2026-10-28T02:30:47.474879864Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:45:02.673625Z"},{"id":"GHSA-jg4p-7fhp-p32p","title":"@hapi/content: Regular Expression Denial of Service (ReDoS) in HTTP header parsing","description":"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 has been fixed in v6.0.1.\n\n### Impact\n\nDenial of Service. An unauthenticated remote attacker can cause a Node.js process to become unresponsive by sending a single HTTP request with a maliciously crafted header value.\n\n### Patches\n\nFixed by tightening all three regular expressions to eliminate backtracking.\n\n### Workarounds\n\nThere are no known workarounds. Upgrade to the patched version.","status":"published","published":"2026-04-04T04:23:03Z","modified":"2026-10-24T02:55:33.217626279Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:46:50.336262Z"},{"id":"ROOT-APP-NPM-CVE-2026-35213","title":"CVE-2026-35213 in @rootio/hapi__content - Patched by Root","description":"Root has patched CVE-2026-35213 in the @rootio/hapi__content package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-07-07T09:17:11Z","modified":"2026-07-07T13:30:16.588335843Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:27.649662Z"},{"id":"CLSA-2026-1789069337","title":"TuxCare security update for @hapi/content (2 CVEs)","description":"TuxCare rebuilt @hapi/content to address 2 CVEs. Fixed in 5.0.2-tuxcare.1.","status":"published","published":"2026-09-10T19:42:17Z","modified":"2026-10-30T19:46:02.85130058Z","updated_at":"2026-11-02T15:43:47.938828Z"}]}}
