# CVE-2026-115728: @hapi/content 6.0.1 before 6.0.3 ReDoS via Content.disposition() Parameter Parsing

Source: https://aplosec.si/cve/CVE-2026-115728/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-115728

High 8.7 · Fix merged · Fixed in 6.0.3 · CWE-1333 · npm

# @hapi/content 6.0.1 before 6.0.3 ReDoS via Content.disposition() Parameter Parsing

CVE-2026-115728 · published 2026-10-23

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.

## Summary

CVE-2026-115728 affects @hapi/content (npm) 6.0.1 before 6.0.3: ReDoS via Content.disposition() parameter parsing (CWE-1333). Fixed in 6.0.3. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-10-23 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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

## Evidence

The maintainer accepted the patch submitted with the report and merged the fix.

## Remediation

Upgrade @hapi/content to 6.0.3 or later. Releases in the affected range (6.0.1 before 6.0.3) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-10-23 CVE published

- 2026-10-28 Public record last updated

## References

- [Referencehttps://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p](https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/hapi-content-6.0.1-before-6.0.3-redos-via-content-disposition-parameter-parsing](https://www.vulncheck.com/advisories/hapi-content-6.0.1-before-6.0.3-redos-via-content-disposition-parameter-parsing)

- [Fix pull requesthttps://github.com/hapijs/content/pull/42](https://github.com/hapijs/content/pull/42)

- [Fix commithttps://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd](https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd)

- [Vulnerable codehttps://github.com/hapijs/content/blob/v6.0.2/lib/index.js#L96](https://github.com/hapijs/content/blob/v6.0.2/lib/index.js#L96)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-115728](https://www.cve.org/CVERecord?id=CVE-2026-115728)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-115728](https://nvd.nist.gov/vuln/detail/CVE-2026-115728)

**Severity:** High 8.7 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-115728)

**Package:** @hapi/content

**Ecosystem:** npm

**Affected:** 6.0.1 before 6.0.3

**Fixed:** 6.0.3

**Weakness:** CWE-1333

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
