# CVE-2026-44974: Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-05-27T00:37:20.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-36hh-x5p5-jgc8
- Weaknesses: CWE-436
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

@hapi/content provided HTTP Content-* headers parsing. Prior to 6.0.2, Content.disposition() retained the last occurrence of each duplicate parameter while Content.type() retained the first occurrence of duplicate charset and boundary parameters, creating a parameter-smuggling primitive when another component in the request-processing chain resolves duplicates the opposite way. This can allow an upload filename allowlist bypass in headers such as Content-Disposition: form-data; name="file"; filename="safe.txt"; filename="shell.php". This issue is fixed in version 6.0.2.

(As written by CVE List.)

## Affected

- hapijs content: < 6.0.2
- @hapi/content (npm): before 6.0.2

## Every score

- GitHub_M: CVSS:4.0 7.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N`

## References

- <https://github.com/hapijs/content/security/advisories/GHSA-36hh-x5p5-jgc8> (web)
- <https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f> (web)
- <https://github.com/hapijs/content> (package)

## Sources

- CVE List: [CVE-2026-44974](https://www.cve.org/CVERecord?id=CVE-2026-44974), CVE Terms of Use, modified 2026-07-21
- GitHub Advisory Database: [GHSA-36hh-x5p5-jgc8](https://github.com/advisories/GHSA-36hh-x5p5-jgc8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-44974](https://nvd.nist.gov/vuln/detail/CVE-2026-44974), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-44974 · Whole record: https://cve.day/CVE-2026-44974.json · Rebuilt by cve.day 2026-11-25T22:59:28.522Z
