Loading advisory.
Loading advisory.
@hapi/content header parser has a parameter smuggling issue that allows upload-filter bypass via duplicate parameters
The two parsers resolved duplicates inconsistently and silently: Content.disposition() retained the last occurrence of each parameter. Content.type() retained the first occurrence of charset and boundary.
Published 2026-05-27 00:37 UTC · Modified 2026-09-10 03:51 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| @hapi/content | npm | < 6.0.2 | 6.0.2 | npm install @hapi/content@6.0.2 |
The two parsers resolved duplicates inconsistently and silently:
Content.disposition() retained the last occurrence of each parameter.
Content.type() retained the first occurrence of charset and boundary.
Either behavior creates a parameter-smuggling primitive when another component in the request-processing chain (a WAF, reverse proxy, security filter, or alternate parser) resolves duplicates the opposite way. The primary attack vector is upload filename allowlist bypass:
Content-Disposition: form-data; name="file"; filename="safe.txt"; filename="shell.php"
The issue has been patched in 6.0.2.
Pre or post validate headers looking for duplicates.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.005 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |