Skip to main content
VulnerabilityPublished

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

Affects @hapi/contentSource GCVE Database

0
Compare
Authoritative record:CVE-2026-119202· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 6.0.3 soon.

Data as of 31 Oct 2026, 01:54 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 6.0.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade @hapi/content to 6.0.3.

Affected software

ProductAffectedFixed in
npm@hapi/contentAffected
  • <6.0.3
Fixed in
  • 6.0.3
npmcontentAffected
  • >=3.0.6 <=4.0.6
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade @hapi/content to version 6.0.3 or later where the vulnerability is fixed. Until upgrading, reduce the payload.maxBytes setting on routes accepting multipart payloads to limit the maximum token size and reduce blocking duration. No other effective workarounds are available.

Description

A denial of service vulnerability exists in @hapi/content versions prior to 6.0.3 due to quadratic-time parsing of Content-Disposition parameters. An unauthenticated attacker can send a multipart/form-data request with a long token lacking an '=' character, causing the Node.js event loop to block for several seconds to minutes. This affects hapi servers with multipart payload routes and applications using Content.disposition() on untrusted headers. The issue is fixed in version 6.0.3.

References

Community reviews

Loading reviews…