# CVE-2026-119202: @hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service

Status: published. Published: 2026-10-29. Updated: 2026-11-03.

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

## Remediation

- fix: @hapi/content (npm): GitHub reports patched versions 6.0.3. Check the advisory for the affected release branch. (source: GitHub GHSA-8494-f6mr-cjpv) — https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv
- fix: @hapi/content (npm): OSV reports a fixed version 6.0.3. Check the advisory for supported release branches. (source: OSV GHSA-8494-f6mr-cjpv) — https://github.com/advisories/GHSA-8494-f6mr-cjpv

## Affected products and versions

- hapijs / content: < 6.0.3 (affected). Source: CNA: GitHub_M
-  / @hapi/content (@hapi/content): <= 6.0.2 (affected, GitHub advisory range). Source: GitHub GHSA-8494-f6mr-cjpv
-  / content (content): >= 3.0.6, <= 4.0.6 (affected, GitHub advisory range). Source: GitHub GHSA-8494-f6mr-cjpv
-  / @hapi/content (@hapi/content): ≥ 0; < 6.0.3 (affected, semver); OSV events: introduced 0; fixed 6.0.3. Source: OSV GHSA-8494-f6mr-cjpv
-  / content (content): ≥ 3.0.6; ≤ 4.0.6 (affected, semver); OSV events: introduced 3.0.6; last affected 4.0.6. Source: OSV GHSA-8494-f6mr-cjpv

## Severity and prioritization

- CVSS 3.1: 7.5 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H; source: CNA: GitHub_M

- CVSS 3.1: 7.5 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.41% as of 2026-11-03; percentile 35.45%

- SSVC: exploitation poc; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-1333

## Exploit evidence

- exploit: https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv (ADP: CISA-ADP)

## References

- https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/hapijs/content/releases/tag/v6.0.3 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv (ADP: CISA-ADP; exploit)

- https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd (security-advisories@github.com)

- https://github.com/hapijs/content/releases/tag/v6.0.3 (security-advisories@github.com)

- https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv (security-advisories@github.com)

- https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv (134c704f-9b21-4f2e-91b3-4a467353bcc0)

- https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv (GitHub Security Advisories; advisory)

- https://github.com/advisories/GHSA-8494-f6mr-cjpv (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-8494-f6mr-cjpv (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-119202; retrieved 2026-11-03; source updated 2026-11-03

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-119202; retrieved 2026-11-03; source updated 2026-11-03

- GitHub Security Advisories: https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv; retrieved 2026-11-04; source updated 2026-10-29

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-8494-f6mr-cjpv; retrieved 2026-11-03; source updated 2026-10-30

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-119202; retrieved 2026-11-03; source updated Not reported

Revision: 75765d6288b31a78151d803bd28fa9d3079e19127be36c8845d02e3a9e14b5d2

Canonical: https://y2.dev/cve/CVE-2026-119202

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.