CVE-2026-119202
HIGH 7.5CVSS 3.1@hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service
@hapi/content provides HTTP Content-* header parsing. From 3.0.6 until 6.0.3, Content.disposition() uses an unanchored parameter-name expression in a global regular-expression scan, causing repeated failed matching over the remaining input when a Content-Disposition parameter contains a long token without an equals sign. The resulting quadratic processing can block the Node.js event loop before route handlers or validation when @hapi/pez parses multipart/form-data headers, including unauthenticated hapi routes with payload.multipart enabled, and also affects applications that pass untrusted headers directly to Content.disposition(). This issue is fixed in @hapi/content version 6.0.3.
- Published
- 29 Oct 2026
- Last modified
- 3 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1333
- Also known as
- GHSA-8494-f6mr-cjpv
- Sources
- NVDJSONOSV GHSA-8494-f6mr-cjpvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @hapi/content | < 6.0.3 | 6.0.3 |
| OSV | npm | content | >= 3.0.6, <= 4.0.6 |
References
- https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd · WEB
- https://github.com/hapijs/content/releases/tag/v6.0.3 · WEB
- https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-119202 · ADVISORY
- https://github.com/hapijs/content · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 29 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Oct 2026)