Skip to main content
← All vulnerabilities
CVE-2026-44974GHSA-36HH-X5P5-JGC8

Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • hapijs content

    fixed in 6.0.2

  • @hapi/contentnpm

    fixed in 6.0.2

References 2

GitHub · hapijs/content